Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PersonTest < Test::Unit::TestCase
- def setup
- @d = Person.new ("John", "Job 1");
- end
- def test_to_s1
- assert_equal ("John: Job1", @d.to_s)
- end
- def test_to_s2
- assert_equal ("John:Job1", @d.to_s)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement