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
@@ -6,13 +6,21 @@ describe Hamster::List do
6
6
 
7
7
  describe "#to_ary" do
8
8
 
9
- describe "on a really big list" do
9
+ describe "doesn't run out of stack space on a really big" do
10
10
 
11
11
  before do
12
- @list = Hamster.interval(0, 10000)
12
+ @interval = Hamster.interval(0, 10000)
13
13
  end
14
14
 
15
- it "doesn't run out of stack space" do
15
+ it "stream" do
16
+ @list = @interval
17
+ end
18
+
19
+ it "list" do
20
+ @list = @interval.reduce(Hamster.list) { |list, i| list.cons(i) }
21
+ end
22
+
23
+ after do
16
24
  @list.to_ary
17
25
  end
18
26
 
@@ -0,0 +1,1080 @@
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
+ 7
140
+ #to_ary
141
+ M
142
+ 1
143
+ n
144
+ n
145
+ x
146
+ 9
147
+ __block__
148
+ i
149
+ 22
150
+ 5
151
+ 7
152
+ 0
153
+ 60
154
+ 53
155
+ 1
156
+ 44
157
+ 47
158
+ 2
159
+ 1
160
+ 14
161
+ 5
162
+ 7
163
+ 3
164
+ 60
165
+ 53
166
+ 4
167
+ 44
168
+ 47
169
+ 2
170
+ 1
171
+ 11
172
+ I
173
+ 4
174
+ I
175
+ 0
176
+ I
177
+ -1
178
+ I
179
+ -1
180
+ n
181
+ p
182
+ 5
183
+ s
184
+ 46
185
+ doesn't run out of stack space on a really big
186
+ M
187
+ 1
188
+ n
189
+ n
190
+ x
191
+ 9
192
+ __block__
193
+ i
194
+ 38
195
+ 5
196
+ 53
197
+ 0
198
+ 44
199
+ 47
200
+ 1
201
+ 0
202
+ 14
203
+ 5
204
+ 7
205
+ 2
206
+ 60
207
+ 53
208
+ 3
209
+ 44
210
+ 47
211
+ 4
212
+ 1
213
+ 14
214
+ 5
215
+ 7
216
+ 5
217
+ 60
218
+ 53
219
+ 6
220
+ 44
221
+ 47
222
+ 4
223
+ 1
224
+ 14
225
+ 5
226
+ 53
227
+ 7
228
+ 44
229
+ 47
230
+ 8
231
+ 0
232
+ 11
233
+ I
234
+ 4
235
+ I
236
+ 0
237
+ I
238
+ -1
239
+ I
240
+ -1
241
+ n
242
+ p
243
+ 9
244
+ M
245
+ 1
246
+ n
247
+ n
248
+ x
249
+ 9
250
+ __block__
251
+ i
252
+ 12
253
+ 42
254
+ 0
255
+ 1
256
+ 74
257
+ 7
258
+ 2
259
+ 46
260
+ 3
261
+ 2
262
+ 35
263
+ 4
264
+ 11
265
+ I
266
+ 4
267
+ I
268
+ 0
269
+ I
270
+ -1
271
+ I
272
+ -1
273
+ n
274
+ p
275
+ 5
276
+ x
277
+ 7
278
+ Hamster
279
+ n
280
+ I
281
+ 2710
282
+ x
283
+ 8
284
+ interval
285
+ x
286
+ 9
287
+ @interval
288
+ p
289
+ 5
290
+ I
291
+ 0
292
+ I
293
+ b
294
+ I
295
+ 0
296
+ I
297
+ c
298
+ I
299
+ c
300
+ x
301
+ 34
302
+ ./spec/hamster/list/to_ary_spec.rb
303
+ p
304
+ 0
305
+ x
306
+ 6
307
+ before
308
+ s
309
+ 8
310
+ interval
311
+ M
312
+ 1
313
+ n
314
+ n
315
+ x
316
+ 9
317
+ __block__
318
+ i
319
+ 5
320
+ 36
321
+ 0
322
+ 35
323
+ 1
324
+ 11
325
+ I
326
+ 2
327
+ I
328
+ 0
329
+ I
330
+ -1
331
+ I
332
+ -1
333
+ n
334
+ p
335
+ 2
336
+ x
337
+ 9
338
+ @interval
339
+ x
340
+ 5
341
+ @list
342
+ p
343
+ 5
344
+ I
345
+ 0
346
+ I
347
+ f
348
+ I
349
+ 0
350
+ I
351
+ 10
352
+ I
353
+ 5
354
+ x
355
+ 34
356
+ ./spec/hamster/list/to_ary_spec.rb
357
+ p
358
+ 0
359
+ x
360
+ 2
361
+ it
362
+ s
363
+ 4
364
+ list
365
+ M
366
+ 1
367
+ n
368
+ n
369
+ x
370
+ 9
371
+ __block__
372
+ i
373
+ 15
374
+ 36
375
+ 0
376
+ 42
377
+ 1
378
+ 2
379
+ 45
380
+ 3
381
+ 53
382
+ 4
383
+ 47
384
+ 5
385
+ 1
386
+ 35
387
+ 6
388
+ 11
389
+ I
390
+ 4
391
+ I
392
+ 0
393
+ I
394
+ -1
395
+ I
396
+ -1
397
+ n
398
+ p
399
+ 7
400
+ x
401
+ 9
402
+ @interval
403
+ x
404
+ 7
405
+ Hamster
406
+ n
407
+ x
408
+ 4
409
+ list
410
+ M
411
+ 1
412
+ n
413
+ n
414
+ x
415
+ 9
416
+ __block__
417
+ i
418
+ 19
419
+ 55
420
+ 33
421
+ 34
422
+ 17
423
+ 0
424
+ 14
425
+ 34
426
+ 17
427
+ 1
428
+ 14
429
+ 14
430
+ 18
431
+ 0
432
+ 18
433
+ 1
434
+ 46
435
+ 0
436
+ 1
437
+ 11
438
+ I
439
+ 5
440
+ I
441
+ 2
442
+ I
443
+ 2
444
+ I
445
+ 2
446
+ n
447
+ p
448
+ 1
449
+ x
450
+ 4
451
+ cons
452
+ p
453
+ 3
454
+ I
455
+ 0
456
+ I
457
+ 14
458
+ I
459
+ 13
460
+ x
461
+ 34
462
+ ./spec/hamster/list/to_ary_spec.rb
463
+ p
464
+ 2
465
+ x
466
+ 4
467
+ list
468
+ x
469
+ 1
470
+ i
471
+ x
472
+ 6
473
+ reduce
474
+ x
475
+ 5
476
+ @list
477
+ p
478
+ 5
479
+ I
480
+ 0
481
+ I
482
+ 13
483
+ I
484
+ 0
485
+ I
486
+ 14
487
+ I
488
+ f
489
+ x
490
+ 34
491
+ ./spec/hamster/list/to_ary_spec.rb
492
+ p
493
+ 0
494
+ M
495
+ 1
496
+ n
497
+ n
498
+ x
499
+ 9
500
+ __block__
501
+ i
502
+ 5
503
+ 36
504
+ 0
505
+ 45
506
+ 1
507
+ 11
508
+ I
509
+ 2
510
+ I
511
+ 0
512
+ I
513
+ -1
514
+ I
515
+ -1
516
+ n
517
+ p
518
+ 2
519
+ x
520
+ 5
521
+ @list
522
+ x
523
+ 6
524
+ to_ary
525
+ p
526
+ 5
527
+ I
528
+ 0
529
+ I
530
+ 17
531
+ I
532
+ 0
533
+ I
534
+ 18
535
+ I
536
+ 5
537
+ x
538
+ 34
539
+ ./spec/hamster/list/to_ary_spec.rb
540
+ p
541
+ 0
542
+ x
543
+ 5
544
+ after
545
+ p
546
+ 11
547
+ I
548
+ 0
549
+ I
550
+ 9
551
+ I
552
+ 0
553
+ I
554
+ b
555
+ I
556
+ 8
557
+ I
558
+ f
559
+ I
560
+ 13
561
+ I
562
+ 13
563
+ I
564
+ 1e
565
+ I
566
+ 17
567
+ I
568
+ 26
569
+ x
570
+ 34
571
+ ./spec/hamster/list/to_ary_spec.rb
572
+ p
573
+ 0
574
+ x
575
+ 8
576
+ describe
577
+ s
578
+ 30
579
+ enables explicit conversion to
580
+ M
581
+ 1
582
+ n
583
+ n
584
+ x
585
+ 9
586
+ __block__
587
+ i
588
+ 30
589
+ 5
590
+ 53
591
+ 0
592
+ 44
593
+ 47
594
+ 1
595
+ 0
596
+ 14
597
+ 5
598
+ 7
599
+ 2
600
+ 60
601
+ 53
602
+ 3
603
+ 44
604
+ 47
605
+ 4
606
+ 1
607
+ 14
608
+ 5
609
+ 7
610
+ 5
611
+ 60
612
+ 53
613
+ 6
614
+ 44
615
+ 47
616
+ 4
617
+ 1
618
+ 11
619
+ I
620
+ 4
621
+ I
622
+ 0
623
+ I
624
+ -1
625
+ I
626
+ -1
627
+ n
628
+ p
629
+ 7
630
+ M
631
+ 1
632
+ n
633
+ n
634
+ x
635
+ 9
636
+ __block__
637
+ i
638
+ 18
639
+ 42
640
+ 0
641
+ 1
642
+ 7
643
+ 2
644
+ 60
645
+ 7
646
+ 3
647
+ 60
648
+ 7
649
+ 4
650
+ 60
651
+ 46
652
+ 5
653
+ 3
654
+ 35
655
+ 6
656
+ 11
657
+ I
658
+ 5
659
+ I
660
+ 0
661
+ I
662
+ -1
663
+ I
664
+ -1
665
+ n
666
+ p
667
+ 7
668
+ x
669
+ 7
670
+ Hamster
671
+ n
672
+ s
673
+ 1
674
+ A
675
+ s
676
+ 1
677
+ B
678
+ s
679
+ 1
680
+ C
681
+ x
682
+ 4
683
+ list
684
+ x
685
+ 5
686
+ @list
687
+ p
688
+ 5
689
+ I
690
+ 0
691
+ I
692
+ 1f
693
+ I
694
+ 0
695
+ I
696
+ 20
697
+ I
698
+ 12
699
+ x
700
+ 34
701
+ ./spec/hamster/list/to_ary_spec.rb
702
+ p
703
+ 0
704
+ x
705
+ 6
706
+ before
707
+ s
708
+ 6
709
+ arrays
710
+ M
711
+ 1
712
+ n
713
+ n
714
+ x
715
+ 9
716
+ __block__
717
+ i
718
+ 37
719
+ 36
720
+ 0
721
+ 33
722
+ 13
723
+ 45
724
+ 1
725
+ 75
726
+ 46
727
+ 2
728
+ 1
729
+ 10
730
+ 16
731
+ 74
732
+ 46
733
+ 3
734
+ 1
735
+ 17
736
+ 0
737
+ 14
738
+ 18
739
+ 0
740
+ 45
741
+ 4
742
+ 7
743
+ 5
744
+ 60
745
+ 7
746
+ 6
747
+ 60
748
+ 7
749
+ 7
750
+ 60
751
+ 32
752
+ 3
753
+ 79
754
+ 8
755
+ 11
756
+ I
757
+ 6
758
+ I
759
+ 1
760
+ I
761
+ -1
762
+ I
763
+ -1
764
+ n
765
+ p
766
+ 9
767
+ x
768
+ 5
769
+ @list
770
+ x
771
+ 4
772
+ size
773
+ x
774
+ 1
775
+ >
776
+ x
777
+ 2
778
+ at
779
+ x
780
+ 6
781
+ should
782
+ s
783
+ 1
784
+ A
785
+ s
786
+ 1
787
+ B
788
+ s
789
+ 1
790
+ C
791
+ x
792
+ 2
793
+ ==
794
+ p
795
+ 7
796
+ I
797
+ 0
798
+ I
799
+ 23
800
+ I
801
+ 0
802
+ I
803
+ 24
804
+ I
805
+ 13
806
+ I
807
+ 25
808
+ I
809
+ 25
810
+ x
811
+ 34
812
+ ./spec/hamster/list/to_ary_spec.rb
813
+ p
814
+ 1
815
+ x
816
+ 5
817
+ array
818
+ x
819
+ 2
820
+ it
821
+ s
822
+ 15
823
+ call parameters
824
+ M
825
+ 1
826
+ n
827
+ n
828
+ x
829
+ 9
830
+ __block__
831
+ i
832
+ 10
833
+ 36
834
+ 0
835
+ 32
836
+ 1
837
+ 53
838
+ 1
839
+ 47
840
+ 2
841
+ 0
842
+ 11
843
+ I
844
+ 3
845
+ I
846
+ 0
847
+ I
848
+ -1
849
+ I
850
+ -1
851
+ n
852
+ p
853
+ 3
854
+ x
855
+ 5
856
+ @list
857
+ M
858
+ 1
859
+ n
860
+ n
861
+ x
862
+ 9
863
+ __block__
864
+ i
865
+ 45
866
+ 55
867
+ 33
868
+ 34
869
+ 17
870
+ 0
871
+ 14
872
+ 34
873
+ 17
874
+ 1
875
+ 14
876
+ 34
877
+ 17
878
+ 2
879
+ 14
880
+ 14
881
+ 18
882
+ 0
883
+ 45
884
+ 0
885
+ 7
886
+ 1
887
+ 60
888
+ 79
889
+ 2
890
+ 14
891
+ 18
892
+ 1
893
+ 45
894
+ 0
895
+ 7
896
+ 3
897
+ 60
898
+ 79
899
+ 2
900
+ 14
901
+ 18
902
+ 2
903
+ 45
904
+ 0
905
+ 7
906
+ 4
907
+ 60
908
+ 79
909
+ 2
910
+ 11
911
+ I
912
+ 6
913
+ I
914
+ 3
915
+ I
916
+ 3
917
+ I
918
+ 3
919
+ n
920
+ p
921
+ 5
922
+ x
923
+ 6
924
+ should
925
+ s
926
+ 1
927
+ A
928
+ x
929
+ 2
930
+ ==
931
+ s
932
+ 1
933
+ B
934
+ s
935
+ 1
936
+ C
937
+ p
938
+ 9
939
+ I
940
+ 0
941
+ I
942
+ 29
943
+ I
944
+ f
945
+ I
946
+ 2a
947
+ I
948
+ 19
949
+ I
950
+ 2b
951
+ I
952
+ 23
953
+ I
954
+ 2c
955
+ I
956
+ 2d
957
+ x
958
+ 34
959
+ ./spec/hamster/list/to_ary_spec.rb
960
+ p
961
+ 3
962
+ x
963
+ 1
964
+ a
965
+ x
966
+ 1
967
+ b
968
+ x
969
+ 1
970
+ c
971
+ x
972
+ 4
973
+ each
974
+ p
975
+ 5
976
+ I
977
+ 0
978
+ I
979
+ 28
980
+ I
981
+ 0
982
+ I
983
+ 29
984
+ I
985
+ a
986
+ x
987
+ 34
988
+ ./spec/hamster/list/to_ary_spec.rb
989
+ p
990
+ 0
991
+ p
992
+ 9
993
+ I
994
+ 0
995
+ I
996
+ 1d
997
+ I
998
+ 0
999
+ I
1000
+ 1f
1001
+ I
1002
+ 8
1003
+ I
1004
+ 23
1005
+ I
1006
+ 13
1007
+ I
1008
+ 28
1009
+ I
1010
+ 1e
1011
+ x
1012
+ 34
1013
+ ./spec/hamster/list/to_ary_spec.rb
1014
+ p
1015
+ 0
1016
+ p
1017
+ 7
1018
+ I
1019
+ 0
1020
+ I
1021
+ 7
1022
+ I
1023
+ 0
1024
+ I
1025
+ 9
1026
+ I
1027
+ b
1028
+ I
1029
+ 1d
1030
+ I
1031
+ 16
1032
+ x
1033
+ 34
1034
+ ./spec/hamster/list/to_ary_spec.rb
1035
+ p
1036
+ 0
1037
+ x
1038
+ 8
1039
+ describe
1040
+ p
1041
+ 5
1042
+ I
1043
+ 0
1044
+ I
1045
+ 5
1046
+ I
1047
+ 0
1048
+ I
1049
+ 7
1050
+ I
1051
+ b
1052
+ x
1053
+ 34
1054
+ ./spec/hamster/list/to_ary_spec.rb
1055
+ p
1056
+ 0
1057
+ x
1058
+ 8
1059
+ describe
1060
+ p
1061
+ 7
1062
+ I
1063
+ 0
1064
+ I
1065
+ 1
1066
+ I
1067
+ 1a
1068
+ I
1069
+ 3
1070
+ I
1071
+ 23
1072
+ I
1073
+ 5
1074
+ I
1075
+ 32
1076
+ x
1077
+ 34
1078
+ ./spec/hamster/list/to_ary_spec.rb
1079
+ p
1080
+ 0