()
| 728 | |
| 729 | #[test] |
| 730 | fn from_u8_lsb() { |
| 731 | assert!(Choice::from_u8_lsb(0).eq(Choice::FALSE).to_bool()); |
| 732 | assert!(Choice::from_u8_lsb(1).eq(Choice::TRUE).to_bool()); |
| 733 | assert!(Choice::from_u8_lsb(2).eq(Choice::FALSE).to_bool()); |
| 734 | assert!(Choice::from_u8_lsb(3).eq(Choice::TRUE).to_bool()); |
| 735 | } |
| 736 | |
| 737 | #[test] |
| 738 | fn from_u8_lt() { |
no outgoing calls
no test coverage detected