mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibTest: Add more numeric generators
Rename unsigned_int generator to number_u32. Add generators: - number_u64 - number_f64 - percentage
This commit is contained in:
parent
dd53f64d2f
commit
d52ffcd830
15 changed files with 312 additions and 133 deletions
|
@ -60,6 +60,7 @@ inline T get_random()
|
|||
}
|
||||
|
||||
u32 get_random_uniform(u32 max_bounds);
|
||||
u64 get_random_uniform_64(u64 max_bounds);
|
||||
|
||||
template<typename Collection>
|
||||
inline void shuffle(Collection& collection)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue