1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
knu 7cc26c722c Fix and add tests for Numeric#step.
* test/ruby/test_float.rb (TestFloat#test_num2dbl): Allow nil as
  step, as with the keyword argument.

* test/ruby/test_numeric.rb (TestNumeric#test_step): Add tests for
  nil as step or limit.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-02 22:39:24 +00:00
..
enc
allpairs.rb
beginmainend.rb
endblockwarn_rb
envutil.rb envutil.rb: encoding 2013-07-25 20:54:54 +00:00
lbtest.rb
marshaltestlib.rb
memory_status.rb
sentence.rb
test_alias.rb
test_argf.rb
test_arity.rb
test_array.rb random.c: coerce before check negative 2013-08-13 13:13:02 +00:00
test_assignment.rb
test_autoload.rb
test_backtrace.rb
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb * test/ruby/test_bignum.rb (test_interrupt_during_to_s): Disable it 2013-09-02 03:29:16 +00:00
test_call.rb
test_case.rb
test_class.rb object.c: undef Module#prepend_features on Class 2013-08-13 12:52:25 +00:00
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_defined.rb
test_dir.rb file.c: split rb_home_dir 2013-07-25 04:06:50 +00:00
test_dir_m17n.rb test_dir_m17n.rb: fixed encoding file system on OS X 2013-08-14 00:10:58 +00:00
test_econv.rb test_econv.rb: assert_separately 2013-08-05 08:32:49 +00:00
test_encoding.rb
test_enum.rb
test_enumerator.rb * enumerator.c: Allow Enumerator size argument to be any callable. 2013-08-27 02:50:08 +00:00
test_env.rb hash.c: key name in error message 2013-07-17 08:12:25 +00:00
test_eval.rb parse.y, vm_eval.c: file encoding in eval 2013-07-29 08:00:34 +00:00
test_exception.rb * vm_insnhelper.c (vm_push_frame): fix stack overflow check codes. 2013-08-06 08:33:05 +00:00
test_fiber.rb * test/ruby/test_fiber.rb: collect garbage fibers immediately. 2013-08-19 08:44:50 +00:00
test_file.rb * file.c (rb_file_size, rb_file_flock): improve parformance of Winodws. 2013-08-16 02:26:28 +00:00
test_file_exhaustive.rb skip if ENV['USER'] is nil 2013-07-30 01:02:45 +00:00
test_fixnum.rb
test_flip.rb
test_float.rb Fix and add tests for Numeric#step. 2013-09-02 22:39:24 +00:00
test_fnmatch.rb
test_gc.rb
test_hash.rb * test/ruby/test_hash.rb: add a test for enumeration order of Hash. 2013-07-30 13:25:40 +00:00
test_ifunless.rb
test_integer.rb * bignum.c (rb_big_bit_length): New method. 2013-08-31 15:09:20 +00:00
test_integer_comb.rb * numeric.c (fix_mul): remove FIT_SQRT_LONG test as it was causing 2013-06-28 16:09:08 +00:00
test_io.rb io.c: copy in binary mode 2013-08-27 08:03:00 +00:00
test_io_m17n.rb
test_iseq.rb
test_iterator.rb
test_keyword.rb
test_lambda.rb * vm_insnhelper.c (vm_invoke_block): returning from lambda proc 2013-08-09 01:49:38 +00:00
test_lazy_enumerator.rb enumerator.c: fix non-single argument 2013-08-08 15:10:37 +00:00
test_literal.rb
test_m17n.rb Add a test for r42162 2013-07-25 07:24:12 +00:00
test_m17n_comb.rb rename a() to b() and define a() for US-ASCII 2013-07-20 09:10:17 +00:00
test_marshal.rb
test_math.rb
test_metaclass.rb
test_method.rb * object.c (rb_class_inherited_p): allow iclasses to be tested for 2013-08-05 01:02:22 +00:00
test_mixed_unicode_escapes.rb
test_module.rb vm_insnhelper.c: fix zsuper in prepended 2013-08-29 08:03:23 +00:00
test_not.rb
test_notimp.rb get detailed ps data to debug 2013-08-14 10:16:33 +00:00
test_numeric.rb Fix and add tests for Numeric#step. 2013-09-02 22:39:24 +00:00
test_object.rb
test_objectspace.rb
test_optimization.rb
test_pack.rb
test_parse.rb Fix test failure to follow r42347 ref #3753 2013-08-03 07:57:34 +00:00
test_path.rb
test_pipe.rb
test_primitive.rb
test_proc.rb * proc.c: add Binding#local_variable_get/set/defined? 2013-08-09 09:51:00 +00:00
test_process.rb Add assertions. 2013-09-01 01:57:45 +00:00
test_rand.rb call GC.start before fork-related tests to decrease GC cost on fork children 2013-07-11 01:31:23 +00:00
test_range.rb test_range.rb: remove invalid assertions 2013-08-08 05:35:08 +00:00
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb * vm_eval.c (eval_string_with_cref): copy cref to limit the scope of 2013-08-06 07:15:18 +00:00
test_regexp.rb * insns.def: fix regexp's once option behavior. 2013-08-20 17:41:13 +00:00
test_require.rb file.c: OSX path encoding 2013-08-11 14:27:04 +00:00
test_rubyoptions.rb Add Process.argv0. 2013-08-07 14:12:08 +00:00
test_settracefunc.rb
test_signal.rb test_signal.rb: use standard fds 2013-06-19 15:57:14 +00:00
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_string.rb test_string.rb: yet another test 2013-09-02 14:56:03 +00:00
test_stringchar.rb
test_struct.rb parse.y: non-local/const attrset 2013-08-11 06:11:17 +00:00
test_super.rb * vm_insnhelper.c (vm_search_super_method): use ci->argc instead of 2013-09-02 18:21:13 +00:00
test_symbol.rb
test_syntax.rb parse.y: warn CR 2013-08-26 07:25:08 +00:00
test_system.rb
test_thread.rb * variable.c, vm_method.c: remove dead code. 2013-08-18 11:27:42 +00:00
test_threadgroup.rb
test_time.rb * test/ruby/test_time.rb: use the in_timezone() helper 2013-08-17 14:25:34 +00:00
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): this 2013-07-05 11:50:31 +00:00
test_variable.rb
test_whileuntil.rb
test_yield.rb
ut_eof.rb