()
| 845 | |
| 846 | #[test] |
| 847 | fn from_u64_lt() { |
| 848 | assert!(Choice::from_u64_lt(0, 0).eq(Choice::FALSE).to_bool()); |
| 849 | assert!(Choice::from_u64_lt(1, 0).eq(Choice::FALSE).to_bool()); |
| 850 | assert!(Choice::from_u64_lt(1, 1).eq(Choice::FALSE).to_bool()); |
| 851 | assert!(Choice::from_u64_lt(1, 2).eq(Choice::TRUE).to_bool()); |
| 852 | } |
| 853 | |
| 854 | #[test] |
| 855 | fn from_u64_nz() { |
no outgoing calls
no test coverage detected