Sha256: 5fcc8f167376297ec8a9db55d9c133d6bdbce671ac33d58903b4364117271184

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

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

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