summaryrefslogtreecommitdiff
path: root/test/ruby/test_rand.rb
AgeCommit message (Expand)Author
2018-08-03random.c: endless range randomnobu
2018-02-20random.c: Random.bytesnobu
2017-12-12Add FrozenError as a subclass of RuntimeErrorshyouhei
2017-07-19random.c: ensure initializednobu
2017-07-19test_rand.rb: improved assert_fork_statusnobu
2017-01-20SecureRandom should try /dev/urandom first [Bug #9569]shyouhei
2016-08-18test_rand.rb: refine probability testnobu
2016-05-13test_rand.rb: tests for seedsnobu
2016-05-10random.c: use bytesnobu
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-11-30* test/ruby/test_rand.rb (TestRand#test_default_seed): addkosaki
2015-11-30* random.c (Init_RandomSeed): move all Random::DEFAULTkosaki
2014-11-13* test/lib/envutil.rb: Moved from test/ruby/.akr
2014-03-05* test/ruby: get rid of warnings.usa
2013-12-13test/ruby: better assertionsnobu
2013-11-20* random.c (rand_init): Make it possible to specify arbitrary arrayakr
2013-10-09* test/ruby/test_rand.rb: fix r43224. local variable `e' isko1
2013-10-09test/ruby: assert_raise_with_messagenobu
2013-07-11call GC.start before fork-related tests to decrease GC cost on fork childrennaruse
2013-06-12* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErrorshugo
2013-02-24random.c: increase limit for generic randnobu
2013-02-22random.c: fix error messagenobu
2012-12-03random.c, rational.c: make marshal methods privatenobu
2012-10-09array.c: use rb_random_ulong_limitednobu
2012-06-22[Bug #6540]nobu
2012-06-22random.c: check initialize and loadnobu
2012-03-11* random.c (random_s_rand): ensure default PRNG is re-initializednobu
2011-06-30* test/ruby/test_rand.rb (test_random_bytes): fold mysteriouslynobu
2011-04-24* random.c (random_s_rand, Init_Random): Random.rand should behave asmrkn
2011-02-12* lib/test/unit.rb (assert_include): add alias.nobu
2010-11-20* random.c (random_rand): get rid of overflow.nobu
2010-08-23* array.c (rb_ary_shuffle_bang, rb_ary_sample): add optionalnobu
2010-08-05* complex.c (nucomp_marshal_load): should check the argument.nobu
2010-08-03* random.c (Init_Random): add Random::DEFAULT.nobu
2010-06-05add an assertion message.akr
2010-05-26* random.c (random_rand): subtraction method of non-numeric cannobu
2010-04-12add a test.akr
2010-04-07* random.c (rand_init): ignore higher bits if all they are same asnobu
2010-04-03* random.c (random_rand): raise ArgumentError on nil, as thenobu
2010-03-15* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]naruse
2009-08-26* random.c (random_rand): fixed for edge cases of ranges.nobu
2009-08-26* random.c (random_rand): unified random_int and random_float.nobu
2009-08-02* random.c (rb_random_int): arguments have to be converted tonobu
2009-08-02* test/ruby/test_rand.rb: add tests for Random#float's rejectionmame
2009-08-02* random.c (rand_int): prevent from GC.nobu
2009-07-30* test/ruby/test_rand.rb: add tests for Random class.mame
2009-07-21* test/ruby/test_rand.rb (test_big_seed): tests also instance methods.nobu
2009-07-21* random.c (rand_init): array length of random seed was broken, whichmame
2009-07-16* random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu
2008-12-29* random.c (rb_f_rand): type check simplified. strings are nomatz