generated from PlexSheep/rs-base
test: add tests for the rand
and rand_max
flags #23
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: PlexSheep/numf#23
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
see #21 #19
how to test for randomness?
Testing that the csprng produces randomness of a good statistically (secure) distribution is out of scope. We cant supply a seed either as we use
OsRng
. We can test that the random values are in a certain range.Correction: we just push some random numbers in the main function, testing that would be a waste of time (and weird, since we'd need to move that part to a new function). Is there actually anything to be tested?