Sha256: 6baf92accf6f2607dde7a89d1d66ce8509e1d602487d27a61312f160ec7143da

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

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

require 'nano/hash/slice.rb'


  require 'test/unit'

  class TCHash < Test::Unit::TestCase

    def test_slice
      h =  {:a=>1, :b=>2, :c=>3 }
      assert_equal( [1,2], h.slice(:a,:b) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/hash/test_slice.rb