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