hamster 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. data/History.rdoc +16 -0
  2. data/README.rdoc +10 -10
  3. data/lib/hamster/core_ext/enumerable.rb +1 -1
  4. data/lib/hamster/core_ext/enumerable.rbc +481 -0
  5. data/lib/hamster/core_ext/io.rb +0 -1
  6. data/lib/hamster/core_ext/io.rbc +604 -0
  7. data/lib/hamster/hash.rb +6 -6
  8. data/lib/hamster/hash.rbc +3117 -0
  9. data/lib/hamster/list.rb +50 -14
  10. data/lib/hamster/list.rbc +7274 -0
  11. data/lib/hamster/set.rb +8 -7
  12. data/lib/hamster/set.rbc +3152 -0
  13. data/lib/hamster/stack.rbc +1358 -0
  14. data/lib/hamster/trie.rbc +3416 -0
  15. data/lib/hamster/version.rb +1 -1
  16. data/spec/hamster/core_ext/enumerable_spec.rb +1 -1
  17. data/spec/hamster/core_ext/enumerable_spec.rbc +747 -0
  18. data/spec/hamster/core_ext/io_spec.rbc +409 -0
  19. data/spec/hamster/hash/all_spec.rbc +1214 -0
  20. data/spec/hamster/hash/any_spec.rbc +1495 -0
  21. data/spec/hamster/hash/construction_spec.rbc +742 -0
  22. data/spec/hamster/hash/copying_spec.rbc +519 -0
  23. data/spec/hamster/hash/each_spec.rbc +908 -0
  24. data/spec/hamster/hash/empty_spec.rbc +517 -0
  25. data/spec/hamster/hash/eql_spec.rb +1 -1
  26. data/spec/hamster/hash/eql_spec.rbc +1702 -0
  27. data/spec/hamster/hash/filter_spec.rbc +1433 -0
  28. data/spec/hamster/hash/get_spec.rbc +791 -0
  29. data/spec/hamster/hash/has_key_spec.rbc +719 -0
  30. data/spec/hamster/hash/map_spec.rbc +1454 -0
  31. data/spec/hamster/hash/none_spec.rbc +1399 -0
  32. data/spec/hamster/hash/put_spec.rbc +1334 -0
  33. data/spec/hamster/hash/reduce_spec.rbc +1234 -0
  34. data/spec/hamster/hash/reject_spec.rbc +1445 -0
  35. data/spec/hamster/hash/remove_spec.rbc +1135 -0
  36. data/spec/hamster/hash/size_spec.rbc +596 -0
  37. data/spec/hamster/list/all_spec.rb +12 -4
  38. data/spec/hamster/list/all_spec.rbc +1760 -0
  39. data/spec/hamster/list/any_spec.rb +12 -4
  40. data/spec/hamster/list/any_spec.rbc +1888 -0
  41. data/spec/hamster/list/append_spec.rb +12 -5
  42. data/spec/hamster/list/append_spec.rbc +1555 -0
  43. data/spec/hamster/list/cadr_spec.rb +1 -1
  44. data/spec/hamster/list/cadr_spec.rbc +855 -0
  45. data/spec/hamster/list/cons_spec.rbc +848 -0
  46. data/spec/hamster/list/construction_spec.rbc +1732 -0
  47. data/spec/hamster/list/copying_spec.rbc +555 -0
  48. data/spec/hamster/list/drop_spec.rb +12 -4
  49. data/spec/hamster/list/drop_spec.rbc +1081 -0
  50. data/spec/hamster/list/drop_while_spec.rb +12 -4
  51. data/spec/hamster/list/drop_while_spec.rbc +1286 -0
  52. data/spec/hamster/list/each_spec.rb +13 -5
  53. data/spec/hamster/list/each_spec.rbc +1365 -0
  54. data/spec/hamster/list/empty_spec.rb +1 -1
  55. data/spec/hamster/list/empty_spec.rbc +571 -0
  56. data/spec/hamster/list/eql_spec.rb +15 -5
  57. data/spec/hamster/list/eql_spec.rbc +1819 -0
  58. data/spec/hamster/list/filter_spec.rb +13 -5
  59. data/spec/hamster/list/filter_spec.rbc +1595 -0
  60. data/spec/hamster/list/find_spec.rb +12 -4
  61. data/spec/hamster/list/find_spec.rbc +1456 -0
  62. data/spec/hamster/list/head_spec.rb +1 -1
  63. data/spec/hamster/list/head_spec.rbc +575 -0
  64. data/spec/hamster/list/include_spec.rb +12 -4
  65. data/spec/hamster/list/include_spec.rbc +1173 -0
  66. data/spec/hamster/list/inspect_spec.rb +13 -5
  67. data/spec/hamster/list/inspect_spec.rbc +995 -0
  68. data/spec/hamster/list/map_spec.rb +12 -4
  69. data/spec/hamster/list/map_spec.rbc +1545 -0
  70. data/spec/hamster/list/maximum_spec.rb +83 -0
  71. data/spec/hamster/list/minimum_spec.rb +83 -0
  72. data/spec/hamster/list/none_spec.rb +11 -3
  73. data/spec/hamster/list/none_spec.rbc +1788 -0
  74. data/spec/hamster/list/one_spec.rb +83 -0
  75. data/spec/hamster/list/partition_spec.rb +37 -9
  76. data/spec/hamster/list/partition_spec.rbc +2715 -0
  77. data/spec/hamster/list/reduce_spec.rb +12 -4
  78. data/spec/hamster/list/reduce_spec.rbc +2081 -0
  79. data/spec/hamster/list/reject_spec.rb +12 -4
  80. data/spec/hamster/list/reject_spec.rbc +1590 -0
  81. data/spec/hamster/list/reverse_spec.rb +12 -4
  82. data/spec/hamster/list/reverse_spec.rbc +1061 -0
  83. data/spec/hamster/list/size_spec.rb +13 -5
  84. data/spec/hamster/list/size_spec.rbc +1063 -0
  85. data/spec/hamster/list/tail_spec.rb +1 -1
  86. data/spec/hamster/list/tail_spec.rbc +595 -0
  87. data/spec/hamster/list/take_spec.rb +12 -4
  88. data/spec/hamster/list/take_spec.rbc +1075 -0
  89. data/spec/hamster/list/take_while_spec.rb +12 -4
  90. data/spec/hamster/list/take_while_spec.rbc +1446 -0
  91. data/spec/hamster/list/to_a_spec.rb +31 -19
  92. data/spec/hamster/list/to_a_spec.rbc +961 -0
  93. data/spec/hamster/list/to_ary_spec.rb +11 -3
  94. data/spec/hamster/list/to_ary_spec.rbc +1080 -0
  95. data/spec/hamster/list/to_list_spec.rb +31 -0
  96. data/spec/hamster/set/add_spec.rbc +1039 -0
  97. data/spec/hamster/set/all_spec.rbc +1316 -0
  98. data/spec/hamster/set/any_spec.rbc +1444 -0
  99. data/spec/hamster/set/construction_spec.rbc +422 -0
  100. data/spec/hamster/set/copying_spec.rbc +469 -0
  101. data/spec/hamster/set/each_spec.rbc +820 -0
  102. data/spec/hamster/set/empty_spec.rbc +452 -0
  103. data/spec/hamster/set/eql_spec.rb +1 -1
  104. data/spec/hamster/set/eql_spec.rbc +1309 -0
  105. data/spec/hamster/set/filter_spec.rbc +1272 -0
  106. data/spec/hamster/set/include_spec.rbc +657 -0
  107. data/spec/hamster/set/map_spec.rbc +1285 -0
  108. data/spec/hamster/set/none_spec.rbc +1344 -0
  109. data/spec/hamster/set/reduce_spec.rbc +1177 -0
  110. data/spec/hamster/set/reject_spec.rbc +1273 -0
  111. data/spec/hamster/set/remove_spec.rbc +947 -0
  112. data/spec/hamster/set/size_spec.rbc +531 -0
  113. data/spec/hamster/set/to_a_spec.rb +16 -12
  114. data/spec/hamster/set/to_a_spec.rbc +559 -0
  115. data/spec/hamster/stack/construction_spec.rbc +862 -0
  116. data/spec/hamster/stack/copying_spec.rbc +555 -0
  117. data/spec/hamster/stack/empty_spec.rb +1 -1
  118. data/spec/hamster/stack/empty_spec.rbc +571 -0
  119. data/spec/hamster/stack/eql_spec.rb +1 -1
  120. data/spec/hamster/stack/eql_spec.rbc +1281 -0
  121. data/spec/hamster/stack/inspect_spec.rb +1 -1
  122. data/spec/hamster/stack/inspect_spec.rbc +586 -0
  123. data/spec/hamster/stack/pop_spec.rbc +1099 -0
  124. data/spec/hamster/stack/push_spec.rbc +848 -0
  125. data/spec/hamster/stack/size_spec.rb +1 -1
  126. data/spec/hamster/stack/size_spec.rbc +650 -0
  127. data/spec/hamster/stack/top_spec.rbc +676 -0
  128. data/spec/hamster/trie/remove_spec.rbc +40 -0
  129. data/spec/spec_helper.rbc +163 -0
  130. data/tasks/spec.rbc +201 -0
  131. metadata +90 -2
@@ -4,34 +4,46 @@ require 'hamster/list'
4
4
 
5
5
  describe Hamster::List do
6
6
 
7
- describe "#to_a" do
7
+ [:to_a, :entries].each do |method|
8
8
 
9
- describe "on a really big list" do
9
+ describe "##{method}" do
10
10
 
11
- before do
12
- @list = Hamster.interval(0, 10000)
13
- end
11
+ describe "doesn't run out of stack space on a really big" do
12
+
13
+ before do
14
+ @interval = Hamster.interval(0, 10000)
15
+ end
16
+
17
+ it "stream" do
18
+ @list = @interval
19
+ end
20
+
21
+ it "list" do
22
+ @list = @interval.reduce(Hamster.list) { |list, i| list.cons(i) }
23
+ end
24
+
25
+ after do
26
+ @list.send(method)
27
+ end
14
28
 
15
- it "doesn't run out of stack space" do
16
- @list.to_a
17
29
  end
18
30
 
19
- end
31
+ [
32
+ [],
33
+ ["A"],
34
+ ["A", "B", "C"],
35
+ ].each do |values|
20
36
 
21
- [
22
- [],
23
- ["A"],
24
- ["A", "B", "C"],
25
- ].each do |values|
37
+ describe "on #{values.inspect}" do
26
38
 
27
- describe "on #{values.inspect}" do
39
+ before do
40
+ @list = Hamster.list(*values)
41
+ end
28
42
 
29
- before do
30
- @list = Hamster.list(*values)
31
- end
43
+ it "returns #{values.inspect}" do
44
+ @list.send(method).should == values
45
+ end
32
46
 
33
- it "returns #{values.inspect}" do
34
- @list.to_a.should == values
35
47
  end
36
48
 
37
49
  end
@@ -0,0 +1,961 @@
1
+ !RBIX
2
+ 0
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 50
13
+ 5
14
+ 42
15
+ 0
16
+ 1
17
+ 42
18
+ 0
19
+ 2
20
+ 61
21
+ 45
22
+ 3
23
+ 46
24
+ 4
25
+ 1
26
+ 7
27
+ 5
28
+ 60
29
+ 77
30
+ 6
31
+ 46
32
+ 7
33
+ 1
34
+ 44
35
+ 46
36
+ 8
37
+ 1
38
+ 14
39
+ 5
40
+ 7
41
+ 9
42
+ 60
43
+ 44
44
+ 46
45
+ 8
46
+ 1
47
+ 14
48
+ 5
49
+ 42
50
+ 10
51
+ 11
52
+ 40
53
+ 12
54
+ 53
55
+ 13
56
+ 44
57
+ 47
58
+ 14
59
+ 1
60
+ 14
61
+ 2
62
+ 11
63
+ I
64
+ 4
65
+ I
66
+ 0
67
+ I
68
+ 0
69
+ I
70
+ 0
71
+ n
72
+ p
73
+ 15
74
+ x
75
+ 4
76
+ File
77
+ n
78
+ n
79
+ x
80
+ 11
81
+ active_path
82
+ x
83
+ 7
84
+ dirname
85
+ s
86
+ 18
87
+ /../../spec_helper
88
+ x
89
+ 1
90
+ +
91
+ x
92
+ 11
93
+ expand_path
94
+ x
95
+ 7
96
+ require
97
+ s
98
+ 12
99
+ hamster/list
100
+ x
101
+ 7
102
+ Hamster
103
+ n
104
+ x
105
+ 4
106
+ List
107
+ M
108
+ 1
109
+ n
110
+ n
111
+ x
112
+ 9
113
+ __block__
114
+ i
115
+ 11
116
+ 5
117
+ 7
118
+ 0
119
+ 60
120
+ 53
121
+ 1
122
+ 44
123
+ 47
124
+ 2
125
+ 1
126
+ 11
127
+ I
128
+ 4
129
+ I
130
+ 0
131
+ I
132
+ -1
133
+ I
134
+ -1
135
+ n
136
+ p
137
+ 3
138
+ s
139
+ 5
140
+ #to_a
141
+ M
142
+ 1
143
+ n
144
+ n
145
+ x
146
+ 9
147
+ __block__
148
+ i
149
+ 37
150
+ 5
151
+ 7
152
+ 0
153
+ 60
154
+ 53
155
+ 1
156
+ 44
157
+ 47
158
+ 2
159
+ 1
160
+ 14
161
+ 32
162
+ 0
163
+ 7
164
+ 3
165
+ 60
166
+ 32
167
+ 1
168
+ 7
169
+ 3
170
+ 60
171
+ 7
172
+ 4
173
+ 60
174
+ 7
175
+ 5
176
+ 60
177
+ 32
178
+ 3
179
+ 32
180
+ 3
181
+ 53
182
+ 6
183
+ 47
184
+ 7
185
+ 0
186
+ 11
187
+ I
188
+ 6
189
+ I
190
+ 0
191
+ I
192
+ -1
193
+ I
194
+ -1
195
+ n
196
+ p
197
+ 8
198
+ s
199
+ 46
200
+ doesn't run out of stack space on a really big
201
+ M
202
+ 1
203
+ n
204
+ n
205
+ x
206
+ 9
207
+ __block__
208
+ i
209
+ 38
210
+ 5
211
+ 53
212
+ 0
213
+ 44
214
+ 47
215
+ 1
216
+ 0
217
+ 14
218
+ 5
219
+ 7
220
+ 2
221
+ 60
222
+ 53
223
+ 3
224
+ 44
225
+ 47
226
+ 4
227
+ 1
228
+ 14
229
+ 5
230
+ 7
231
+ 5
232
+ 60
233
+ 53
234
+ 6
235
+ 44
236
+ 47
237
+ 4
238
+ 1
239
+ 14
240
+ 5
241
+ 53
242
+ 7
243
+ 44
244
+ 47
245
+ 8
246
+ 0
247
+ 11
248
+ I
249
+ 4
250
+ I
251
+ 0
252
+ I
253
+ -1
254
+ I
255
+ -1
256
+ n
257
+ p
258
+ 9
259
+ M
260
+ 1
261
+ n
262
+ n
263
+ x
264
+ 9
265
+ __block__
266
+ i
267
+ 12
268
+ 42
269
+ 0
270
+ 1
271
+ 74
272
+ 7
273
+ 2
274
+ 46
275
+ 3
276
+ 2
277
+ 35
278
+ 4
279
+ 11
280
+ I
281
+ 4
282
+ I
283
+ 0
284
+ I
285
+ -1
286
+ I
287
+ -1
288
+ n
289
+ p
290
+ 5
291
+ x
292
+ 7
293
+ Hamster
294
+ n
295
+ I
296
+ 2710
297
+ x
298
+ 8
299
+ interval
300
+ x
301
+ 9
302
+ @interval
303
+ p
304
+ 5
305
+ I
306
+ 0
307
+ I
308
+ b
309
+ I
310
+ 0
311
+ I
312
+ c
313
+ I
314
+ c
315
+ x
316
+ 32
317
+ ./spec/hamster/list/to_a_spec.rb
318
+ p
319
+ 0
320
+ x
321
+ 6
322
+ before
323
+ s
324
+ 8
325
+ interval
326
+ M
327
+ 1
328
+ n
329
+ n
330
+ x
331
+ 9
332
+ __block__
333
+ i
334
+ 5
335
+ 36
336
+ 0
337
+ 35
338
+ 1
339
+ 11
340
+ I
341
+ 2
342
+ I
343
+ 0
344
+ I
345
+ -1
346
+ I
347
+ -1
348
+ n
349
+ p
350
+ 2
351
+ x
352
+ 9
353
+ @interval
354
+ x
355
+ 5
356
+ @list
357
+ p
358
+ 5
359
+ I
360
+ 0
361
+ I
362
+ f
363
+ I
364
+ 0
365
+ I
366
+ 10
367
+ I
368
+ 5
369
+ x
370
+ 32
371
+ ./spec/hamster/list/to_a_spec.rb
372
+ p
373
+ 0
374
+ x
375
+ 2
376
+ it
377
+ s
378
+ 4
379
+ list
380
+ M
381
+ 1
382
+ n
383
+ n
384
+ x
385
+ 9
386
+ __block__
387
+ i
388
+ 15
389
+ 36
390
+ 0
391
+ 42
392
+ 1
393
+ 2
394
+ 45
395
+ 3
396
+ 53
397
+ 4
398
+ 47
399
+ 5
400
+ 1
401
+ 35
402
+ 6
403
+ 11
404
+ I
405
+ 4
406
+ I
407
+ 0
408
+ I
409
+ -1
410
+ I
411
+ -1
412
+ n
413
+ p
414
+ 7
415
+ x
416
+ 9
417
+ @interval
418
+ x
419
+ 7
420
+ Hamster
421
+ n
422
+ x
423
+ 4
424
+ list
425
+ M
426
+ 1
427
+ n
428
+ n
429
+ x
430
+ 9
431
+ __block__
432
+ i
433
+ 19
434
+ 55
435
+ 33
436
+ 34
437
+ 17
438
+ 0
439
+ 14
440
+ 34
441
+ 17
442
+ 1
443
+ 14
444
+ 14
445
+ 18
446
+ 0
447
+ 18
448
+ 1
449
+ 46
450
+ 0
451
+ 1
452
+ 11
453
+ I
454
+ 5
455
+ I
456
+ 2
457
+ I
458
+ 2
459
+ I
460
+ 2
461
+ n
462
+ p
463
+ 1
464
+ x
465
+ 4
466
+ cons
467
+ p
468
+ 3
469
+ I
470
+ 0
471
+ I
472
+ 14
473
+ I
474
+ 13
475
+ x
476
+ 32
477
+ ./spec/hamster/list/to_a_spec.rb
478
+ p
479
+ 2
480
+ x
481
+ 4
482
+ list
483
+ x
484
+ 1
485
+ i
486
+ x
487
+ 6
488
+ reduce
489
+ x
490
+ 5
491
+ @list
492
+ p
493
+ 5
494
+ I
495
+ 0
496
+ I
497
+ 13
498
+ I
499
+ 0
500
+ I
501
+ 14
502
+ I
503
+ f
504
+ x
505
+ 32
506
+ ./spec/hamster/list/to_a_spec.rb
507
+ p
508
+ 0
509
+ M
510
+ 1
511
+ n
512
+ n
513
+ x
514
+ 9
515
+ __block__
516
+ i
517
+ 5
518
+ 36
519
+ 0
520
+ 45
521
+ 1
522
+ 11
523
+ I
524
+ 2
525
+ I
526
+ 0
527
+ I
528
+ -1
529
+ I
530
+ -1
531
+ n
532
+ p
533
+ 2
534
+ x
535
+ 5
536
+ @list
537
+ x
538
+ 4
539
+ to_a
540
+ p
541
+ 5
542
+ I
543
+ 0
544
+ I
545
+ 17
546
+ I
547
+ 0
548
+ I
549
+ 18
550
+ I
551
+ 5
552
+ x
553
+ 32
554
+ ./spec/hamster/list/to_a_spec.rb
555
+ p
556
+ 0
557
+ x
558
+ 5
559
+ after
560
+ p
561
+ 11
562
+ I
563
+ 0
564
+ I
565
+ 9
566
+ I
567
+ 0
568
+ I
569
+ b
570
+ I
571
+ 8
572
+ I
573
+ f
574
+ I
575
+ 13
576
+ I
577
+ 13
578
+ I
579
+ 1e
580
+ I
581
+ 17
582
+ I
583
+ 26
584
+ x
585
+ 32
586
+ ./spec/hamster/list/to_a_spec.rb
587
+ p
588
+ 0
589
+ x
590
+ 8
591
+ describe
592
+ s
593
+ 1
594
+ A
595
+ s
596
+ 1
597
+ B
598
+ s
599
+ 1
600
+ C
601
+ M
602
+ 1
603
+ n
604
+ n
605
+ x
606
+ 9
607
+ __block__
608
+ i
609
+ 23
610
+ 54
611
+ 17
612
+ 0
613
+ 14
614
+ 5
615
+ 18
616
+ 0
617
+ 45
618
+ 0
619
+ 44
620
+ 45
621
+ 1
622
+ 7
623
+ 2
624
+ 60
625
+ 59
626
+ 53
627
+ 3
628
+ 44
629
+ 47
630
+ 4
631
+ 1
632
+ 11
633
+ I
634
+ 5
635
+ I
636
+ 1
637
+ I
638
+ 1
639
+ I
640
+ 1
641
+ n
642
+ p
643
+ 5
644
+ x
645
+ 7
646
+ inspect
647
+ x
648
+ 4
649
+ to_s
650
+ s
651
+ 3
652
+ on
653
+ M
654
+ 1
655
+ n
656
+ n
657
+ x
658
+ 9
659
+ __block__
660
+ i
661
+ 28
662
+ 5
663
+ 53
664
+ 0
665
+ 44
666
+ 47
667
+ 1
668
+ 0
669
+ 14
670
+ 5
671
+ 19
672
+ 1
673
+ 0
674
+ 45
675
+ 2
676
+ 44
677
+ 45
678
+ 3
679
+ 7
680
+ 4
681
+ 60
682
+ 59
683
+ 53
684
+ 5
685
+ 44
686
+ 47
687
+ 6
688
+ 1
689
+ 11
690
+ I
691
+ 4
692
+ I
693
+ 0
694
+ I
695
+ -1
696
+ I
697
+ -1
698
+ n
699
+ p
700
+ 7
701
+ M
702
+ 1
703
+ n
704
+ n
705
+ x
706
+ 9
707
+ __block__
708
+ i
709
+ 14
710
+ 42
711
+ 0
712
+ 1
713
+ 19
714
+ 2
715
+ 0
716
+ 33
717
+ 1
718
+ 48
719
+ 2
720
+ 0
721
+ 35
722
+ 3
723
+ 11
724
+ I
725
+ 4
726
+ I
727
+ 0
728
+ I
729
+ -1
730
+ I
731
+ -1
732
+ n
733
+ p
734
+ 4
735
+ x
736
+ 7
737
+ Hamster
738
+ n
739
+ x
740
+ 4
741
+ list
742
+ x
743
+ 5
744
+ @list
745
+ p
746
+ 5
747
+ I
748
+ 0
749
+ I
750
+ 25
751
+ I
752
+ 0
753
+ I
754
+ 26
755
+ I
756
+ e
757
+ x
758
+ 32
759
+ ./spec/hamster/list/to_a_spec.rb
760
+ p
761
+ 0
762
+ x
763
+ 6
764
+ before
765
+ x
766
+ 7
767
+ inspect
768
+ x
769
+ 4
770
+ to_s
771
+ s
772
+ 8
773
+ returns
774
+ M
775
+ 1
776
+ n
777
+ n
778
+ x
779
+ 9
780
+ __block__
781
+ i
782
+ 12
783
+ 36
784
+ 0
785
+ 45
786
+ 1
787
+ 45
788
+ 2
789
+ 19
790
+ 2
791
+ 0
792
+ 79
793
+ 3
794
+ 11
795
+ I
796
+ 3
797
+ I
798
+ 0
799
+ I
800
+ -1
801
+ I
802
+ -1
803
+ n
804
+ p
805
+ 4
806
+ x
807
+ 5
808
+ @list
809
+ x
810
+ 4
811
+ to_a
812
+ x
813
+ 6
814
+ should
815
+ x
816
+ 2
817
+ ==
818
+ p
819
+ 5
820
+ I
821
+ 0
822
+ I
823
+ 29
824
+ I
825
+ 0
826
+ I
827
+ 2a
828
+ I
829
+ c
830
+ x
831
+ 32
832
+ ./spec/hamster/list/to_a_spec.rb
833
+ p
834
+ 0
835
+ x
836
+ 2
837
+ it
838
+ p
839
+ 7
840
+ I
841
+ 0
842
+ I
843
+ 23
844
+ I
845
+ 0
846
+ I
847
+ 25
848
+ I
849
+ 8
850
+ I
851
+ 29
852
+ I
853
+ 1c
854
+ x
855
+ 32
856
+ ./spec/hamster/list/to_a_spec.rb
857
+ p
858
+ 0
859
+ x
860
+ 8
861
+ describe
862
+ p
863
+ 7
864
+ I
865
+ 0
866
+ I
867
+ 1e
868
+ I
869
+ 1
870
+ I
871
+ 21
872
+ I
873
+ 4
874
+ I
875
+ 23
876
+ I
877
+ 17
878
+ x
879
+ 32
880
+ ./spec/hamster/list/to_a_spec.rb
881
+ p
882
+ 1
883
+ x
884
+ 6
885
+ values
886
+ x
887
+ 4
888
+ each
889
+ p
890
+ 11
891
+ I
892
+ 0
893
+ I
894
+ 7
895
+ I
896
+ 0
897
+ I
898
+ 9
899
+ I
900
+ b
901
+ I
902
+ 1e
903
+ I
904
+ d
905
+ I
906
+ 1f
907
+ I
908
+ 12
909
+ I
910
+ 20
911
+ I
912
+ 25
913
+ x
914
+ 32
915
+ ./spec/hamster/list/to_a_spec.rb
916
+ p
917
+ 0
918
+ x
919
+ 8
920
+ describe
921
+ p
922
+ 5
923
+ I
924
+ 0
925
+ I
926
+ 5
927
+ I
928
+ 0
929
+ I
930
+ 7
931
+ I
932
+ b
933
+ x
934
+ 32
935
+ ./spec/hamster/list/to_a_spec.rb
936
+ p
937
+ 0
938
+ x
939
+ 8
940
+ describe
941
+ p
942
+ 7
943
+ I
944
+ 0
945
+ I
946
+ 1
947
+ I
948
+ 1a
949
+ I
950
+ 3
951
+ I
952
+ 23
953
+ I
954
+ 5
955
+ I
956
+ 32
957
+ x
958
+ 32
959
+ ./spec/hamster/list/to_a_spec.rb
960
+ p
961
+ 0