u128

Function u128 

Source
pub fn u128() -> u128
Expand description

Will generate a random u128

ยงExample

let a: u128 = hel_random::u128();
let b: u128 = hel_random::u128();
// Examples generated by macro, so we check if type is `bool` or `i8` or `u8` to avoid collisions
if std::mem::size_of::<u128>() > 1 {
    assert!(a != b);
}