spreet 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,24 +0,0 @@
1
- # encoding: utf-8
2
- require 'helper'
3
-
4
- class TestBigArray < Test::Unit::TestCase
5
-
6
- def test_big_hash
7
- assert_nothing_raised do
8
- BigArray.new("MyBigArray", 2, 8)
9
- end
10
- array = nil
11
- assert_nothing_raised do
12
- array = BigArray::MyBigArray.new
13
- end
14
- assert_nothing_raised do
15
- array[0] = 123
16
- end
17
- assert_equal(123, array[0])
18
- assert_nothing_raised do
19
- array[2**32 - 1] = "Test"
20
- end
21
- assert_equal("Test", array[2**32 - 1])
22
- end
23
-
24
- end