Sha256: dab48a5bce3a158752fcab95b56d4c2104ca3211151af65ac2ad9b35dc01826a
Contents?: true
Size: 469 Bytes
Versions: 1
Compression:
Stored size: 469 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/nano/hash/has_keys.rb # # Extracted Fri Oct 28 14:20:18 EDT 2005 # Unit Tools Reap Test Extractor # require 'nano/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-0.9.0 | test/lib/nano/hash/test_has_keys.rb |