Sha256: 4a7bc53863401a3a044fb7510a45de6a0bbd59a3b8458874661229d4b8a842f8
Contents?: true
Size: 478 Bytes
Versions: 1
Compression:
Stored size: 478 Bytes
Contents
require 'runit/testcase' require 'runit/cui/testrunner' require 'runit/testsuite' require 'diff' require 'emaildiff' require 'test_emailcases' class EmailDiffTest < RUNIT::TestCase include DiffArrayTests def difftest(a, b, c) #puts "old string:" #puts a #puts "new string:" #puts b diff = EmailDiff.new(a, b) d = a.patch(diff,888,999) #puts "result:" #puts d assert_equal(c,d) end end RUNIT::CUI::TestRunner.run(EmailDiffTest.suite)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
diff-0.3.3 | test/test_emaildiff.rb |