()
| 810 | |
| 811 | #[test] |
| 812 | fn from_u32_lt() { |
| 813 | assert!(Choice::from_u32_lt(0, 0).eq(Choice::FALSE).to_bool()); |
| 814 | assert!(Choice::from_u32_lt(1, 0).eq(Choice::FALSE).to_bool()); |
| 815 | assert!(Choice::from_u32_lt(1, 1).eq(Choice::FALSE).to_bool()); |
| 816 | assert!(Choice::from_u32_lt(1, 2).eq(Choice::TRUE).to_bool()); |
| 817 | } |
| 818 | |
| 819 | #[test] |
| 820 | fn from_u32_nz() { |
no outgoing calls
no test coverage detected