On Tuesday, February 18, 2003, 9:31:46 AM, Brian wrote:
> assert(result==8, "Oops! I can't add!")
Or,
assert_equal(8, result, "Oops! I can't add!")
The purpose of the more specific method is so that Test::Unit knows
what you're actually asserting, so can print a sensible error message
(and thus you don't need to provide one).
Gavin