43 Commits

Author SHA1 Message Date
Yukihiro "Matz" Matsumoto 4d249c28d9 Skip tests that use Float inside; ref #5421 2021-04-24 12:04:08 +09:00
Yukihiro "Matz" Matsumoto a57b6f8ed0 Implement Enumerable tally from Ruby2.7. 2019-09-16 10:10:09 +09:00
Yukihiro "Matz" Matsumoto d380c7d26f Implement filter_map from Ruby2.6. 2019-09-16 10:10:09 +09:00
KOBAYASHI Shuji 2d520eaf6f Move NilClass#to_h to mruby-object-ext from mruby-enum-ext 2019-07-24 20:13:26 +09:00
Yukihiro "Matz" Matsumoto 971bfd13c1 Merge pull request #4284 from shuujii/use-assert_same-instead-of-assert_equal-in-enum-reverse_each-test
Use `assert_same` instead of `assert_equal` in `Enumerable#reverse_each` test
2019-02-18 21:50:08 +09:00
KOBAYASHI Shuji d68eb3d043 Fix wrong assertion method in some tests 2019-02-18 21:24:20 +09:00
KOBAYASHI Shuji f86e4a5d93 Use assert_same instead of assert_equal in Enumerable#reverse_each test 2019-02-18 21:06:18 +09:00
Yukihiro "Matz" Matsumoto 19d3bb2d90 Make #to_h to take a block; [ruby-core:89088] 2018-09-20 13:47:29 +09:00
ksss b1c8fad94a Should raise TypeError instead of NoMethodError 2018-03-27 10:52:32 +09:00
ksss 5a7ce01f12 Support block yielding for Enumerable#zip 2018-03-27 10:51:59 +09:00
Yukihiro "Matz" Matsumoto e4a9b4a3ad `Enumerable#{one?,none?,all?,any?} to take pattern argument [Ruby2.5] 2017-12-25 23:43:43 +09:00
Yukihiro "Matz" Matsumoto 6a992a2579 Merge pull request #3577 from okkez/fix-return-value-of-each-slice
Change return value of Enumerable#each_slice
2017-04-03 18:04:57 +09:00
Kenji Okimoto cff54ab2f3 Change return value of Enumerable#each_slice
More compatibility to CRuby.
2017-04-03 16:46:47 +09:00
Kenji Okimoto 4975aa4c1c Change return value of Enumberable#each_cons
More compatibility to CRuby.
2017-04-03 16:42:53 +09:00
ksss 7685783af4 Add regression test for Enumerable#cycle 2016-11-11 16:53:42 +09:00
Yukihiro "Matz" Matsumoto cbbed40295 add nil#to_h; ref #2348 2014-06-05 13:20:17 +09:00
Yukihiro "Matz" Matsumoto 13728e203e add Enumerable#to_h; ref #2348 2014-06-04 23:37:13 +09:00
Nobuyoshi Nakada ab67c57f65 remove trailing spaces 2014-04-30 09:50:14 +09:00
Jun Hiroe 68695d174c Add Enumerable#zip 2014-03-27 14:09:29 +09:00
Jun Hiroe 767ca3f76e Enumerable#find_index 2014-03-25 16:14:19 +09:00
Jun Hiroe 381f126f1b Add Enumerable#cycle 2014-03-24 20:24:23 +09:00
Jun Hiroe 70bbe9a894 Add Enumerable#reverse_each 2014-03-24 18:03:37 +09:00
Jun Hiroe 7e41e2ed0e Enumerable#each_with_object 2014-03-24 16:26:23 +09:00
Jun Hiroe 919ca8f42b Add Enumerable#one? 2014-03-23 23:47:03 +09:00
Jun Hiroe 1f709c1ef0 Add Enumerable#none? 2014-03-23 12:58:12 +09:00
Jun Hiroe 776a680e89 Enumerable#minmax_by 2014-03-23 11:41:23 +09:00
Jun Hiroe 5027aaaf4e Add Enumerable#minmax 2014-03-22 21:52:08 +09:00
Yukihiro "Matz" Matsumoto 22d57105eb add Enumerable#min_by as well; ref #1912 2014-03-22 16:55:47 +09:00
Jun Hiroe af7db89aa3 Add Enumerable#max_by 2014-03-22 14:51:45 +09:00
Yukihiro "Matz" Matsumoto c978fd7b35 should test Enumerable#first; close #1905 2014-03-21 23:33:59 +09:00
Jun Hiroe 44763ebc74 Add Enumerable#{flat_map,collect_concat} 2014-03-21 12:34:21 +09:00
Jun Hiroe 17fdd81573 Add Enumerable#count test 2014-03-18 23:08:24 +09:00
Jun Hiroe 0349283fab Add Enumerable#first test 2014-03-18 00:30:31 +09:00
Jun Hiroe 7380acf1b6 Add Enumerable#sort_by test 2014-03-18 00:29:14 +09:00
Daniel Bovensiepen f96c023279 Improve test of mruby-enum-ext GEM 2013-08-04 22:41:04 +08:00
skandhas 35bcc8f850 add Enumerable#group_by 2013-03-22 16:07:10 +08:00
skandhas 39a553d44e add Enumerable#each_slice 2013-03-22 15:56:25 +08:00
skandhas aacbc39b27 add Enumerable#each_cons 2013-03-22 15:43:30 +08:00
skandhas 854c61972f fix spelling 2013-03-19 14:25:03 +08:00
skandhas 79dd12ba0b add Enumerable#take, Enumerable#take_while 2013-03-19 14:23:07 +08:00
skandhas 9262a9f40c add Enumerable#drop_while 2013-03-19 14:07:23 +08:00
skandhas ab79941c51 add Enumerable#drop 2013-03-19 11:16:33 +08:00
skandhas 4454576cc9 add mruby-enum-ext 2013-03-19 10:56:11 +08:00