# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/comparable/cmp.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/comparable/cmp.rb' require 'test/unit' class TCComparable < Test::Unit::TestCase def test_cmp assert_equal( -1, 3.cmp(4) ) assert_equal( 0, 3.cmp(3) ) assert_equal( 1, 3.cmp(2) ) end end