fedora-migrator /vendor/gems/facets-2.4.5/test/core/integer/test_ordinal.rb

Language Ruby Lines 15
MD5 Hash 9cd7b13af07d19968dd61d87af8b4e79 Estimated Cost $215 (why?)
Repository https://bitbucket.org/mediashelf/fedora-migrator View Raw File
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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
Back to Top