Sha256: f738be5d3b01b0379c0589e64e301544312b00c2c7fb5a32afbb3734c8edb7db

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/enumerable/ideal_entropy.rb
#
# Extracted Mon Jun 05 08:14:29 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/enumerable/ideal_entropy.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_ideal_entropy
      assert_equal( 1.0, %w{ a b }.ideal_entropy )
      assert_equal( 2.0, %w{ a a b b }.ideal_entropy )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.4.0 test/lib/facets/core/enumerable/test_ideal_entropy.rb