Sha256: e6dc8c88ec518b47bc224217bd2c6a5abddb0416018a6474910d6a11ecc31731
Contents?: true
Size: 282 Bytes
Versions: 16
Compression:
Stored size: 282 Bytes
Contents
require 'test/unit' require 'facets/integer/ordinal' class TestIntegerOrdinal < 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
Version data entries
16 entries across 16 versions & 1 rubygems