Sha256: 2531aaf32ce4d486a3a9adbe12659c8bf3500d2cfa43bf0bc46921314136375c

Contents?: true

Size: 497 Bytes

Versions: 10

Compression:

Stored size: 497 Bytes

Contents

  #  _____         _
  # |_   _|__  ___| |_
  #   | |/ _ \/ __| __|
  #   | |  __/\__ \ |
  #   |_|\___||___/\__|
  #
  # for lib/facets/hash/insert.rb
  #
  # Extracted Mon Sep 03 16:23:07 -0700 2007
  # w/ Test Extraction Ratchet
  #

 require 'facets/hash/insert.rb'



  require 'test/unit'

  class TestHashInsert < Test::Unit::TestCase

    def test_insert
      h = { :a=>1, :b=>2 }
      assert_equal( true  , h.insert(:c,3) )
      assert_equal( false , h.insert(:a,0) )
    end
  end



Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
facets-2.0.0 test/unit/hash/test_insert.rb
facets-2.0.1 test/unit/hash/test_insert.rb
facets-2.0.2 test/unit/hash/test_insert.rb
facets-2.1.0 test/unit/hash/test_insert.rb
facets-2.1.1 test/unit/hash/test_insert.rb
facets-2.1.2 test/unit/hash/test_insert.rb
facets-2.0.5 test/unit/hash/test_insert.rb
facets-2.0.3 test/unit/hash/test_insert.rb
facets-2.0.4 test/unit/hash/test_insert.rb
facets-2.1.3 test/unit/hash/test_insert.rb