Sha256: 40e15a55407bb73b6c00a054c3888f3d038fe9ff4e2de6b89984338078da59c0

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

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


Version data entries

1 entries across 1 versions & 1 rubygems

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