Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def test_to_s_returns_self_as_string
- s = "abcefghijklmnop"
- sequence = Sequence.new(s)
- assert_equal(s, sequence.to_s, "wrong value")
- assert_instance_of(String, sequence.to_s, "not a String")
- end
Add Comment
Please, Sign In to add comment