test/test_insert.rb in scaffolder-0.4.3 vs test/test_insert.rb in scaffolder-0.4.4
- old
+ new
@@ -43,20 +43,20 @@
@insert.close 5
end
should "return a negative diff for a sequence smaller than insert site" do
@insert.raw_sequence 'TT'
- assert(@insert.size_diff,-1)
+ assert_equal(@insert.size_diff,-1)
end
should "return 0 for a sequence equal to the insert site" do
- @insert.raw_sequence 'TT'
- assert(@insert.size_diff,0)
+ @insert.raw_sequence 'TTT'
+ assert_equal(@insert.size_diff,0)
end
should "return a positive diff for a sequence larger than insert site" do
@insert.raw_sequence 'TTTT'
- assert(@insert.size_diff,1)
+ assert_equal(@insert.size_diff,1)
end
end
should "be comparable by close position" do