Searched refs:poison (Results 1 – 1 of 1) sorted by relevance
323 let poison = base + SafeNum::MAX; in test_addition_poison() localVariable324 assert!(u64::try_from(poison).is_err()); in test_addition_poison()326 let a = poison - 1; in test_addition_poison()327 let b = poison - 2; in test_addition_poison()329 assert_eq!(a, poison); in test_addition_poison()330 assert_eq!(b, poison); in test_addition_poison()336 let poison = base - SafeNum::MAX; in test_subtraction_poison() localVariable337 assert!(u64::try_from(poison).is_err()); in test_subtraction_poison()339 let a = poison + 1; in test_subtraction_poison()340 let b = poison + 2; in test_subtraction_poison()[all …]