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