diff options
| author | Christopher Aue <[email protected]> | 2017-07-28 17:08:35 +0200 |
|---|---|---|
| committer | Christopher Aue <[email protected]> | 2017-07-28 23:51:49 +0200 |
| commit | a3bfd735a041078cd9497c739fb3e21efc0c36f0 (patch) | |
| tree | d55e69124bc8b201f3a44143379d4c4deda69902 /mrbgems/mruby-array-ext/test/array.rb | |
| parent | 451574f1420d8533f44a06d9aca23b5647292228 (diff) | |
| download | mruby-a3bfd735a041078cd9497c739fb3e21efc0c36f0.tar.gz mruby-a3bfd735a041078cd9497c739fb3e21efc0c36f0.zip | |
Added Array#bsearch_index
Diffstat (limited to 'mrbgems/mruby-array-ext/test/array.rb')
| -rw-r--r-- | mrbgems/mruby-array-ext/test/array.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mrbgems/mruby-array-ext/test/array.rb b/mrbgems/mruby-array-ext/test/array.rb index 401d30a5e..c0db1b1cc 100644 --- a/mrbgems/mruby-array-ext/test/array.rb +++ b/mrbgems/mruby-array-ext/test/array.rb @@ -267,6 +267,10 @@ assert("Array#bsearch") do end end +assert("Array#bsearch_index") do + # tested through Array#bsearch +end + assert("Array#delete_if") do a = [1, 2, 3, 4, 5] assert_equal [1, 2, 3, 4, 5], a.delete_if { false } |
