()
| 736 | |
| 737 | #[test] |
| 738 | fn from_u8_lt() { |
| 739 | assert!(Choice::from_u8_lt(0, 0).eq(Choice::FALSE).to_bool()); |
| 740 | assert!(Choice::from_u8_lt(1, 0).eq(Choice::FALSE).to_bool()); |
| 741 | assert!(Choice::from_u8_lt(1, 1).eq(Choice::FALSE).to_bool()); |
| 742 | assert!(Choice::from_u8_lt(1, 2).eq(Choice::TRUE).to_bool()); |
| 743 | } |
| 744 | |
| 745 | #[test] |
| 746 | fn from_u8_nz() { |
nothing calls this directly
no outgoing calls
no test coverage detected