pub fn gen_ratio(a: usize, b: usize) -> bool
Expand description

Returns a bool with a probability of a / b of being true.