Sha256: 1141dc53ffa918a35e217a29be1c9f9ccda2fc3d64671e5c24476e30491919a6

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/string/singular.rb
#
# Extracted Wed Jul 05 11:47:50 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/string/singular.rb'


  require 'test/unit'

  class TCString < Test::Unit::TestCase

    def test_singular
      assert_equal( "friend", "friends".singular )
      assert_equal( "man", "men".singular )    
    end

    def test_plural
      assert_equal( "friends", "friend".plural )
      assert_equal( "men", "man".plural )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.5 test/lib/facets/core/string/test_singular.rb