i128

Function i128 

Source
pub fn i128() -> i128
Expand description

Will generate a random i128

ยงExample

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