-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a tests for the ? and | mini-notation operators
The tests are probabilistic, so it is possible that if the pseudo-random number generator changes in the future, we might get results that fail. They work for the current PRNG, though, and use boundaries for the number of values of different types such that there should only be about a 1% probability that the tests would fail by chance assuming that the PRNG returns evenly distributed values.
- Loading branch information
Showing
2 changed files
with
37 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters