summaryrefslogtreecommitdiffstats
path: root/tests/unit/RandomIntTest.php
Commit message (Expand)AuthorAgeFilesLines
* There is no pleasing Psalm, so let's just disable this check.v2.0.9Paragon Initiative Enterprises2017-03-031-2/+2
* Add some more unit tests to catch type errors.Scott2016-02-081-1/+1
* Add RandomIntTest::testRandomRangeNicolas Grekas2015-12-311-0/+11
* RandomIntTest.php: random_int("1337e3","1337e3")oittaa2015-10-161-1/+3
* Fix more integer/float boundary issues.Scott2015-10-161-0/+2
* Even more assertions and edge cases.Scott2015-10-151-1/+3
* Correct fixScott2015-10-151-1/+3
* Add edge case testsScott2015-10-151-0/+9
* Compromise -- be compatible with PHP 7, but with sanityScott2015-10-151-23/+0
* Better weak-typing.Scott2015-10-151-0/+25
* Use \Sodium\randombytes_uniform() for random_int()Scott2015-10-151-0/+3
* Revert some unexpected whitespace changesDion Hulse2015-09-231-2/+1
* Compatibility with PHP7-RC3, PHP accepts numeric parameters (although the err...Dion Hulse2015-09-231-2/+7
* Remove duplicate assertion. We aren't the Department of Redundancy Department.Scott2015-07-121-1/+0
* Define range properly in unit test.Scott2015-07-101-1/+1
* Use ~ instead of -Scott2015-07-101-1/+1
* Fix test range (suggsted by @oittaa in #11)Scott2015-07-101-1/+1
* Add unit tests for updated random_int()Scott2015-07-091-2/+5
* Syntax errors when unit testing on PHP 5.3 are just rude. Some OS's still sup...Scott2015-07-081-2/+2
* Add unit tests for negative integers.Scott2015-07-081-3/+7
* Separate unit tests from statistical tests, add travis.ymlScott2015-07-071-33/+1
* More samples => narrower rangeScott2015-07-071-6/+7
* Add another testScott2015-07-071-0/+19
* Add some tests on the distribution of random values.Scott2015-07-071-0/+12
* Add some test coverageScott2015-07-071-0/+12
* True initial commitScott2015-07-071-0/+8