()
| 853 | |
| 854 | #[test] |
| 855 | fn from_u64_nz() { |
| 856 | assert!(Choice::from_u64_nz(0).eq(Choice::FALSE).to_bool()); |
| 857 | assert!(Choice::from_u64_nz(1).eq(Choice::TRUE).to_bool()); |
| 858 | assert!(Choice::from_u64_nz(2).eq(Choice::TRUE).to_bool()); |
| 859 | } |
| 860 | |
| 861 | #[test] |
| 862 | fn from_u128_eq() { |
no outgoing calls
no test coverage detected