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
yugui 237fc68839 merges r26936 from trunk into ruby_1_9_1 and little refactoring.
--
* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]
--
* random.c: refactoring.

* random.c (rand_srand): a new function that wraps
  rand_init and (re)initialization of the random seed as
  a VALUE.

* random.c (genrand_int32, genrand_real, rb_f_rand,
  rb_f_srand): using rand_srand.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@28511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01 07:59:03 +00:00
..
enc * test/ruby/enc/test_utf16.rb: feature changed in r20626. 2008-12-13 05:26:37 +00:00
allpairs.rb * test/ruby/allpairs.rb: new file for all pairs method. 2008-03-01 04:12:13 +00:00
beginmainend.rb
endblockwarn_rb
envutil.rb merges r25435 from trunk into ruby_1_9_1. 2010-01-30 12:51:59 +00:00
lbtest.rb * test/ruby/test_thread.rb: new tests from Sylvain Joyeux in 2008-04-09 03:12:03 +00:00
marshaltestlib.rb merges r24016 from trunk into ruby_1_9_1. 2009-07-13 08:08:14 +00:00
sentence.rb
test_alias.rb
test_argf.rb merges r24719 from trunk into ruby_1_9_1. 2009-10-28 16:11:54 +00:00
test_array.rb merges r23361 from trunk into ruby_1_9_1. 2009-05-21 14:47:11 +00:00
test_assignment.rb merges r24761 and r24999 from trunk into ruby_1_9_1. 2009-11-27 02:54:02 +00:00
test_basicinstructions.rb merges r24761 and r24999 from trunk into ruby_1_9_1. 2009-11-27 02:54:02 +00:00
test_beginendblock.rb * parse.y (top_compstmt, top_stmts, top_stmt): prohibit BEGIN {} in 2009-01-29 16:51:19 +00:00
test_bignum.rb merges r20621 from trunk into ruby_1_9_1. 2008-12-13 01:02:28 +00:00
test_call.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_case.rb
test_class.rb merges r24321 from trunk into ruby_1_9_1. 2009-08-08 10:56:14 +00:00
test_clone.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_comparable.rb * test/ruby/test_comparable.rb: new tests for Comparable, to achieve 2008-04-24 13:38:01 +00:00
test_complex.rb merges r25067 from trunk into ruby_1_9_1 and added a test for it. 2009-11-27 02:55:16 +00:00
test_complex2.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_complexrational.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_condition.rb
test_const.rb
test_continuation.rb add a test for [ruby-dev:34802]. 2008-05-22 08:41:07 +00:00
test_defined.rb
test_dir.rb * test/ruby/test_dir.rb: suppress warning during test. 2008-07-23 12:36:24 +00:00
test_econv.rb merges r25883 from trunk into ruby_1_9_1. fixes a backpor task #2168. 2009-12-05 09:40:25 +00:00
test_encoding.rb merges r25526,r25527,r25528,r25529,r25530 and r25555 from trunk into ruby_1_9_1. 2010-01-30 12:54:15 +00:00
test_enum.rb introduces r21693 again and merges r21713 2009-01-28 09:20:03 +00:00
test_enumerator.rb * test/ruby/test_enumerator.rb (TestEnumerator#test_with_object): 2008-08-26 10:26:45 +00:00
test_env.rb * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp. 2008-10-04 13:25:12 +00:00
test_eval.rb merges r24569 from trunk into ruby_1_9_1. 2009-10-28 14:15:07 +00:00
test_exception.rb merges r24148 from trunk into ruby_1_9_1. 2009-07-17 13:31:50 +00:00
test_fiber.rb merges r23616 from trunk into ruby_1_9_1. 2009-06-20 09:08:10 +00:00
test_file.rb merges r20045 from trunk into ruby_1_9_1. 2008-10-30 12:09:24 +00:00
test_file_exhaustive.rb merges r23989 from trunk into ruby_1_9_1. 2009-07-13 06:13:38 +00:00
test_fixnum.rb * prec.c: removed. Precision will be redesigned and be back again. 2008-09-19 13:10:54 +00:00
test_float.rb merges r23730 from trunk into ruby_1_9_1. 2009-06-21 10:34:46 +00:00
test_fnmatch.rb
test_gc.rb * test/ruby/test_gc.rb: add tests to achieve over 90% test coverage of 2008-06-05 14:57:05 +00:00
test_hash.rb merges r22308 from trunk into ruby_1_9_1. 2009-11-27 02:53:45 +00:00
test_ifunless.rb
test_integer.rb * prec.c: removed. Precision will be redesigned and be back again. 2008-09-19 13:10:54 +00:00
test_integer_comb.rb split combinational blackbox tests. 2008-05-01 02:02:49 +00:00
test_io.rb merges r25485 from trunk into ruby_1_9_1. 2010-01-30 12:53:10 +00:00
test_io_m17n.rb merges r25883 from trunk into ruby_1_9_1. fixes a backpor task #2168. 2009-12-05 09:40:25 +00:00
test_iterator.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_lambda.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_literal.rb add tests. 2008-03-01 16:16:46 +00:00
test_m17n.rb * test/ruby/test_m17n.rb (TestM17N#test_sprintf_s): 2009-10-25 14:46:01 +00:00
test_m17n_comb.rb * test/ruby/test_m17n_comb.rb: feature changed in r20626. 2008-12-13 04:45:56 +00:00
test_marshal.rb merges r25001 from trunk into ruby_1_9_1. 2009-11-27 02:54:20 +00:00
test_math.rb * math.c (math_log): should check argc. 2008-09-21 12:53:40 +00:00
test_metaclass.rb merges r20747 and r20802 from trunk into ruby_1_9_1. 2008-12-17 06:15:46 +00:00
test_method.rb * test/ruby/test_method.rb (TestMethod#test_default_accessibility): 2008-11-22 14:50:44 +00:00
test_mixed_unicode_escapes.rb * transcode.c: add "Error" suffix for Encoding exception classes. 2008-09-18 08:57:33 +00:00
test_module.rb Added a test method contributed by James M Lawrence, 2009-11-01 15:39:58 +00:00
test_numeric.rb merges r24684 from trunk into ruby_1_9_1. 2009-10-28 16:11:27 +00:00
test_object.rb merges r25360 from trunk into ruby_1_9_1. 2010-01-30 12:48:19 +00:00
test_objectspace.rb * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): new 2008-07-15 15:26:04 +00:00
test_optimization.rb
test_pack.rb merges r20580 from trunk into ruby_1_9_1. 2008-12-12 14:53:49 +00:00
test_parse.rb * test/ruby/test_parse.rb (TestParse): update a test not to use 2008-09-06 22:14:28 +00:00
test_path.rb * djgpp/GNUmakefile.in: removed. Ruby no longer supports djgpp. 2008-10-04 13:25:12 +00:00
test_pipe.rb * prelude.rb (require_relative): move require_relative from 2008-04-12 14:50:18 +00:00
test_primitive.rb
test_proc.rb merges r23970 from trunk into ruby_1_9_1. 2009-07-13 06:12:36 +00:00
test_process.rb merges r21733 from trunk into ruby_1_9_1. 2009-01-28 09:21:35 +00:00
test_rand.rb merges r26936 from trunk into ruby_1_9_1 and little refactoring. 2010-07-01 07:59:03 +00:00
test_range.rb merges r25010 from trunk into ruby_1_9_1 and adds tests for it. 2009-11-27 02:54:29 +00:00
test_rational.rb merges r25067 from trunk into ruby_1_9_1 and added a test for it. 2009-11-27 02:55:16 +00:00
test_rational2.rb * test/ruby/test_rational2.rb: updated. 2008-09-23 12:34:35 +00:00
test_readpartial.rb * test: assert_raises has been deprecated since a long time ago. 2008-09-24 17:44:39 +00:00
test_regexp.rb merges r24544 from trunk into ruby_1_9_1. 2009-11-27 02:54:10 +00:00
test_require.rb merges r24818 from trunk into ruby_1_9_1, with small modification. 2009-10-31 13:05:04 +00:00
test_rubyoptions.rb merges r25435 from trunk into ruby_1_9_1. 2010-01-30 12:51:59 +00:00
test_settracefunc.rb merges r24579 and r24581 from trunk into ruby_1_9_1. 2009-10-28 14:15:24 +00:00
test_signal.rb merges r25392 from trunk into ruby_1_9_1. 2010-01-30 12:49:35 +00:00
test_sleep.rb merges r21279 from trunk into ruby_1_9_1. 2009-01-04 06:16:06 +00:00
test_sprintf.rb merges r21135 from trunk into ruby_1_9_1. 2008-12-29 07:18:31 +00:00
test_sprintf_comb.rb add test for %B. 2008-10-14 14:08:36 +00:00
test_string.rb merges r26052 from trunk into ruby_1_9_1. 2010-02-04 03:48:25 +00:00
test_stringchar.rb * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend, 2008-02-12 06:28:23 +00:00
test_struct.rb merges r25010 from trunk into ruby_1_9_1 and adds tests for it. 2009-11-27 02:54:29 +00:00
test_super.rb merges r24012 from trunk into ruby_1_9_1. 2009-07-13 08:07:36 +00:00
test_symbol.rb * test/ruby/test_string.rb: add tests to achieve over 90% test 2008-05-15 14:37:18 +00:00
test_system.rb merges r23891 from trunk into ruby_1_9_1. 2009-07-12 14:44:54 +00:00
test_thread.rb merges r21148 from trunk into ruby_1_9_1. 2008-12-29 07:19:32 +00:00
test_time.rb merges r23075 from trunk into ruby_1_9_1. 2009-04-19 13:34:51 +00:00
test_trace.rb * test/ruby/test_object.rb: new tests to achieve over 90% test 2008-05-14 12:52:17 +00:00
test_transcode.rb merges r21717 and r21741 from trunk into ruby_1_9_1. 2009-01-28 09:20:53 +00:00
test_unicode_escape.rb * lib/xmlrpc, lib/rexml, test/ruby/test_array.rb, 2008-10-01 13:46:53 +00:00
test_variable.rb * test/ruby/test_variable.rb (TestVariable#test_variable): add 2008-10-14 03:23:57 +00:00
test_whileuntil.rb
test_yield.rb merges r25494 from trunk into ruby_1_9_1. 2010-01-30 12:53:22 +00:00
ut_eof.rb