test/test_sequence.rb in scaffolder-0.4.1 vs test/test_sequence.rb in scaffolder-0.4.2
- old
+ new
@@ -81,9 +81,15 @@
should "update the sequence with a simple insert" do
@sequence.inserts [@insert]
assert_equal(@sequence.sequence,'ATGCGGTAGTAACTGACTAGCATG')
end
+ should "update the sequence with a simple insert with repeated method calls" do
+ @sequence.inserts [@insert]
+ assert_equal(@sequence.sequence,'ATGCGGTAGTAACTGACTAGCATG')
+ assert_equal(@sequence.sequence,'ATGCGGTAGTAACTGACTAGCATG')
+ end
+
should "update the sequence stop position after adding a simple insert" do
@sequence.inserts [@insert]
assert_equal(@sequence.stop,24)
end