i64

Function i64 

Source
pub fn i64() -> i64
Expand description

Will generate a random i64

ยงExample

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