Sha256: b6a561fa42f87b0f94296b66a99eabce73ebf00558c650d5314664a8dd92145e
Contents?: true
Size: 498 Bytes
Versions: 1
Compression:
Stored size: 498 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facet/enumerable/frequency.rb # # Extracted Wed Jan 25 11:25:39 EST 2006 # Unit Tools Reap Test Extractor # require 'facet/enumerable/frequency.rb' require 'test/unit' class TCEnumerable < Test::Unit::TestCase def test_frequency assert_equal( {'a'=>1,'b'=>1}, %w{a b}.frequency ) assert_equal( {'tom'=>1,'boy'=>1}, %w{tom boy}.frequency ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.0.3 | packages/core/test/lib/facet/enumerable/test_frequency.rb |