()
| 818 | |
| 819 | #[test] |
| 820 | fn from_u32_nz() { |
| 821 | assert!(Choice::from_u32_nz(0).eq(Choice::FALSE).to_bool()); |
| 822 | assert!(Choice::from_u32_nz(1).eq(Choice::TRUE).to_bool()); |
| 823 | assert!(Choice::from_u32_nz(2).eq(Choice::TRUE).to_bool()); |
| 824 | } |
| 825 | |
| 826 | #[test] |
| 827 | fn from_u64_eq() { |
no outgoing calls
no test coverage detected