Method: ADSP::Test::String#test_texts
- Defined in:
- lib/adsp/test/string.rb
#test_texts ⇒ Object
50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/adsp/test/string.rb', line 50 def test_texts do || TEXTS.each do |text| compressed_text = target.compress text, do || decompressed_text = target.decompress compressed_text, decompressed_text.force_encoding text.encoding assert_equal text, decompressed_text end end end end |