Sha256: 7b62160906b38736b57a7bfa2d943db620df959a67153df3cdbd57eb1018d043

Contents?: true

Size: 496 Bytes

Versions: 1

Compression:

Stored size: 496 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/enumerable/frequency.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/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-0.9.0 test/lib/nano/enumerable/test_frequency.rb