index
:
random_compat
master
origin/1.2.x
origin/HEAD
origin/exceptional
origin/github-issue-tpl
origin/master
origin/v1.x
origin/without-openssl
Unnamed repository; edit this file 'description' to name the repository.
Erik Andersson
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
/
unit
/
RandomIntTest.php
Commit message (
Expand
)
Author
Age
Files
Lines
*
There is no pleasing Psalm, so let's just disable this check.
v2.0.9
Paragon Initiative Enterprises
2017-03-03
1
-2
/
+2
*
Add some more unit tests to catch type errors.
Scott
2016-02-08
1
-1
/
+1
*
Add RandomIntTest::testRandomRange
Nicolas Grekas
2015-12-31
1
-0
/
+11
*
RandomIntTest.php: random_int("1337e3","1337e3")
oittaa
2015-10-16
1
-1
/
+3
*
Fix more integer/float boundary issues.
Scott
2015-10-16
1
-0
/
+2
*
Even more assertions and edge cases.
Scott
2015-10-15
1
-1
/
+3
*
Correct fix
Scott
2015-10-15
1
-1
/
+3
*
Add edge case tests
Scott
2015-10-15
1
-0
/
+9
*
Compromise -- be compatible with PHP 7, but with sanity
Scott
2015-10-15
1
-23
/
+0
*
Better weak-typing.
Scott
2015-10-15
1
-0
/
+25
*
Use \Sodium\randombytes_uniform() for random_int()
Scott
2015-10-15
1
-0
/
+3
*
Revert some unexpected whitespace changes
Dion Hulse
2015-09-23
1
-2
/
+1
*
Compatibility with PHP7-RC3, PHP accepts numeric parameters (although the err...
Dion Hulse
2015-09-23
1
-2
/
+7
*
Remove duplicate assertion. We aren't the Department of Redundancy Department.
Scott
2015-07-12
1
-1
/
+0
*
Define range properly in unit test.
Scott
2015-07-10
1
-1
/
+1
*
Use ~ instead of -
Scott
2015-07-10
1
-1
/
+1
*
Fix test range (suggsted by @oittaa in #11)
Scott
2015-07-10
1
-1
/
+1
*
Add unit tests for updated random_int()
Scott
2015-07-09
1
-2
/
+5
*
Syntax errors when unit testing on PHP 5.3 are just rude. Some OS's still sup...
Scott
2015-07-08
1
-2
/
+2
*
Add unit tests for negative integers.
Scott
2015-07-08
1
-3
/
+7
*
Separate unit tests from statistical tests, add travis.yml
Scott
2015-07-07
1
-33
/
+1
*
More samples => narrower range
Scott
2015-07-07
1
-6
/
+7
*
Add another test
Scott
2015-07-07
1
-0
/
+19
*
Add some tests on the distribution of random values.
Scott
2015-07-07
1
-0
/
+12
*
Add some test coverage
Scott
2015-07-07
1
-0
/
+12
*
True initial commit
Scott
2015-07-07
1
-0
/
+8