/vendor/plugins/rtf-0.1.0/test/StyleTest.rb
http://rorptm.googlecode.com/ · Ruby · 22 lines · 15 code · 5 blank · 2 comment · 6 complexity · f6571b53e0537959b72db1f03587fa5b MD5 · raw file
- #!/usr/bin/env ruby
- require 'rubygems'
- require 'test/unit'
- require 'rtf'
- include RTF
- # Information class unit test class.
- class StyleTest < Test::Unit::TestCase
- def test_basics
- style = Style.new
- assert(style.is_character_style? == false)
- assert(style.is_document_style? == false)
- assert(style.is_paragraph_style? == false)
- assert(style.is_table_style? == false)
- assert(style.prefix(nil, nil) == nil)
- assert(style.suffix(nil, nil) == nil)
- end
- end