use malachite_base::random::{Seed, EXAMPLE_SEED};
#[test]
fn test_fork() {
assert_eq!(
EXAMPLE_SEED.fork("first"),
Seed::from_bytes([
0x20, 0x18, 0x1, 0x3d, 0x96, 0x4d, 0x3e, 0x98, 0x10, 0x9d, 0x35, 0x75, 0x22, 0x89,
0xf7, 0xe9, 0xbe, 0x2f, 0x9c, 0x15, 0x95, 0x42, 0x1a, 0x79, 0x52, 0xf, 0x56, 0x9a,
0x7b, 0x8c, 0xd9, 0x34
])
);
assert_eq!(
EXAMPLE_SEED.fork("second"),
Seed::from_bytes([
0xe0, 0x36, 0x88, 0x58, 0x6d, 0x67, 0x33, 0xea, 0xf2, 0x1c, 0x88, 0xf9, 0xe3, 0xbd,
0x52, 0xc0, 0xe5, 0xad, 0x61, 0x81, 0x21, 0xd8, 0x2f, 0x8e, 0xcd, 0xf, 0x89, 0x9d,
0x32, 0xc5, 0x35, 0x83
])
);
}