# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/integer/ordinal.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # 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