Rather than provide a bunch of different assertions as you suggest, Test::Unit provides the method assert_operator, used like this:
assert_operator x, :>, y
assert_operator x, :>=, y
etc.
Rather than provide a bunch of different assertions as you suggest, Test::Unit provides the method assert_operator, used like this:
assert_operator x, :>, y
assert_operator x, :>=, y
etc.