summaryrefslogtreecommitdiff
path: root/test/ruby/test_rand.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* * random.c (random_rand): unified random_int and random_float.nobu2009-08-261-44/+50
* * random.c (rb_random_int): arguments have to be converted tonobu2009-08-021-0/+1
* * test/ruby/test_rand.rb: add tests for Random#float's rejectionmame2009-08-021-0/+3
* * random.c (rand_int): prevent from GC.nobu2009-08-021-1/+12
* * test/ruby/test_rand.rb: add tests for Random class.mame2009-07-301-0/+190
* * test/ruby/test_rand.rb (test_big_seed): tests also instance methods.nobu2009-07-211-2/+1
* * random.c (rand_init): array length of random seed was broken, whichmame2009-07-211-0/+5
* * random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu2009-07-161-80/+80
* * random.c (rb_f_rand): type check simplified. strings are nomatz2008-12-291-1/+1
* * test/ruby/test_rand.rb: add tests to achieve over 95% test coveragemame2008-03-251-0/+36
* add test_rand_0x100000000.akr2005-02-071-0/+7