# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/comparable/at_least.rb # # Extracted Fri Apr 14 10:02:13 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/comparable/at_least.rb' require 'test/unit' class TCComparable < Test::Unit::TestCase def test_at_most assert_equal( 3, 3.at_most(4) ) assert_equal( 4, 4.at_most(4) ) assert_equal( 4, 5.at_most(4) ) end def test_at_least assert_equal( 4, 3.at_least(4) ) assert_equal( 4, 4.at_least(4) ) assert_equal( 5, 5.at_least(4) ) end end