#[ cfg(not(feature = "no_std")) ]
use deterministic_rand :: { Rng, Hrng };
fn main()
{
#[ cfg(not(feature = "no_std")) ]
{
let hrng = Hrng ::master_with_seed("master1".into());
let rng_ref = hrng.rng_ref();
let mut rng = rng_ref.lock().unwrap();
let _got: u64 = rng.gen();
#[ cfg(feature = "determinism") ]
assert_eq!(_got, 6165676721551962567);
}
}