# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/integer/ordinal.rb # # Extracted Mon Jun 05 08:14:29 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