hamster 0.2.5 → 0.2.6

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