# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/integer/ordinal.rb # # Extracted Tue Jun 06 09:30:19 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/integer/ordinal.rb' require 'test/unit' class TCInteger < Test::Unit::TestCase def test_ordinal assert_equal( '1st', 1.ordinal ) assert_equal( '2nd', 2.ordinal ) assert_equal( '3rd', 3.ordinal ) assert_equal( '4th', 4.ordinal ) end end