()
| 866 | |
| 867 | #[test] |
| 868 | fn from_u128_le() { |
| 869 | assert!(Choice::from_u128_le(0, 0).eq(Choice::TRUE).to_bool()); |
| 870 | assert!(Choice::from_u128_le(1, 0).eq(Choice::FALSE).to_bool()); |
| 871 | assert!(Choice::from_u128_le(1, 1).eq(Choice::TRUE).to_bool()); |
| 872 | assert!(Choice::from_u128_le(1, 2).eq(Choice::TRUE).to_bool()); |
| 873 | } |
| 874 | |
| 875 | #[test] |
| 876 | fn from_u128_lsb() { |
no outgoing calls
no test coverage detected