Sha256: d73053a2ccb9cbbeefe55a77a3d078bea700c56a4f7186890c6a660fefc46ca5
Contents?: true
Size: 268 Bytes
Versions: 13
Compression:
Stored size: 268 Bytes
Contents
require 'facets/enumerable/frequency.rb' require 'test/unit' class Test_Enumerable_Frequency < 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
13 entries across 13 versions & 1 rubygems