Sha256: 98f9c1d53dc7d7be7d47a8746a0b5d3c71eb46a9957a34e5303792b7c96caaf3

Contents?: true

Size: 525 Bytes

Versions: 1

Compression:

Stored size: 525 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# 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


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/integer/test_ordinal.rb