()
| 880 | |
| 881 | #[test] |
| 882 | fn from_u128_lt() { |
| 883 | assert!(Choice::from_u128_lt(0, 0).eq(Choice::FALSE).to_bool()); |
| 884 | assert!(Choice::from_u128_lt(1, 0).eq(Choice::FALSE).to_bool()); |
| 885 | assert!(Choice::from_u128_lt(1, 1).eq(Choice::FALSE).to_bool()); |
| 886 | assert!(Choice::from_u128_lt(1, 2).eq(Choice::TRUE).to_bool()); |
| 887 | } |
| 888 | |
| 889 | #[test] |
| 890 | fn from_u128_comparison_boundaries() { |
no outgoing calls
no test coverage detected