Sha256: ceb2c66121306c45dd0381203e34080134c7649a38d6fa62fdbc4690664466bd

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/hash/has_keys.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/hash/has_keys.rb'


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_has_keys?
      assert( { :a=>1,:b=>2,:c=>3 }.has_keys?(:a,:b) )
      assert( ! { :a=>1,:b=>2,:c=>3 }.has_keys?(:a,:b,:d) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/hash/test_has_keys.rb