aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_rand.rb
Commit message (Expand)AuthorAgeFilesLines
* Deprecate Random::DEFAULTBenoit Daloze2020-12-141-0/+2
* per-ractor Random::DEFAULTKoichi Sasada2020-11-271-12/+0
* Removed useless implementation testsNobuyoshi Nakada2020-05-171-113/+14
* Removed PRNG implementation details from the testNobuyoshi Nakada2020-05-171-135/+79
* Revert "srand() should not run in tests."Koichi Sasada2020-01-291-46/+24
* Revert "remove debug code."Koichi Sasada2020-01-291-0/+3
* remove debug code.Koichi Sasada2020-01-281-3/+0
* srand() should not run in tests.Koichi Sasada2020-01-281-24/+46
* rand(beginless_range) raise Errno::EDOM instead of TypeErrorKazuhiro NISHIYAMA2019-12-151-0/+1
* random.c: endless range randomnobu2018-08-031-0/+1
* random.c: Random.bytesnobu2018-02-201-3/+8
* Add FrozenError as a subclass of RuntimeErrorshyouhei2017-12-121-2/+2
* random.c: ensure initializednobu2017-07-191-0/+4
* test_rand.rb: improved assert_fork_statusnobu2017-07-191-3/+14
* SecureRandom should try /dev/urandom first [Bug #9569]shyouhei2017-01-201-2/+2
* test_rand.rb: refine probability testnobu2016-08-181-3/+9
* test_rand.rb: tests for seedsnobu2016-05-131-0/+14
* random.c: use bytesnobu2016-05-101-0/+11
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* * test/ruby/test_rand.rb (TestRand#test_default_seed): addkosaki2015-11-301-0/+4
* * random.c (Init_RandomSeed): move all Random::DEFAULTkosaki2015-11-301-0/+9
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
* * test/ruby: get rid of warnings.usa2014-03-051-2/+3
* test/ruby: better assertionsnobu2013-12-131-5/+5
* * random.c (rand_init): Make it possible to specify arbitrary arrayakr2013-11-201-1/+1
* * test/ruby/test_rand.rb: fix r43224. local variable `e' isko12013-10-091-1/+1
* test/ruby: assert_raise_with_messagenobu2013-10-091-4/+2
* call GC.start before fork-related tests to decrease GC cost on fork childrennaruse2013-07-111-0/+1
* * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo2013-06-121-12/+0
* random.c: increase limit for generic randnobu2013-02-241-0/+8
* random.c: fix error messagenobu2013-02-221-0/+15
* random.c, rational.c: make marshal methods privatenobu2012-12-031-5/+5
* array.c: use rb_random_ulong_limitednobu2012-10-091-2/+3
* [Bug #6540]nobu2012-06-221-0/+8
* random.c: check initialize and loadnobu2012-06-221-0/+21
* * random.c (random_s_rand): ensure default PRNG is re-initializednobu2012-03-111-2/+31
* * test/ruby/test_rand.rb (test_random_bytes): fold mysteriouslynobu2011-06-301-2/+6
* * random.c (random_s_rand, Init_Random): Random.rand should behave asmrkn2011-04-241-2/+16
* * lib/test/unit.rb (assert_include): add alias.nobu2011-02-121-1/+1
* * random.c (random_rand): get rid of overflow.nobu2010-11-201-0/+2
* * array.c (rb_ary_shuffle_bang, rb_ary_sample): add optionalnobu2010-08-231-0/+1
* * complex.c (nucomp_marshal_load): should check the argument.nobu2010-08-051-0/+7
* * random.c (Init_Random): add Random::DEFAULT.nobu2010-08-031-0/+12
* add an assertion message.akr2010-06-051-1/+1
* * random.c (random_rand): subtraction method of non-numeric cannobu2010-05-261-0/+3
* add a test.akr2010-04-121-0/+7
* * random.c (rand_init): ignore higher bits if all they are same asnobu2010-04-071-0/+7
* * random.c (random_rand): raise ArgumentError on nil, as thenobu2010-04-031-0/+1
* * random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]naruse2010-03-151-0/+10
* * random.c (random_rand): fixed for edge cases of ranges.nobu2009-08-261-0/+8