Sha256: c21606becdd9c3d2cb925895448366ac6e86c554c4b5018ba14c49b3c4f009c7

Contents?: true

Size: 366 Bytes

Versions: 1

Compression:

Stored size: 366 Bytes

Contents

###### #####   #### ######
  ##   ##     ##      ##
  ##   ####     ##    ##
  ##   ##        ##   ##
  ##   #####  ####    ##

require 'test/unit'
require 'mega/statichash'

class TC_StaticHash < Test::Unit::TestCase 

  def setup
    @sh1 = StaticHash.new
  end

  def test_assign
    @sh1["x"] = 1
    assert_raises( ArgumentError ){  @sh1["x"] = 2 }
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mega-0.3.1 test/tc_statichash.rb