()
| 720 | |
| 721 | #[test] |
| 722 | fn from_u8_le() { |
| 723 | assert!(Choice::from_u8_le(0, 0).eq(Choice::TRUE).to_bool()); |
| 724 | assert!(Choice::from_u8_le(1, 0).eq(Choice::FALSE).to_bool()); |
| 725 | assert!(Choice::from_u8_le(1, 1).eq(Choice::TRUE).to_bool()); |
| 726 | assert!(Choice::from_u8_le(1, 2).eq(Choice::TRUE).to_bool()); |
| 727 | } |
| 728 | |
| 729 | #[test] |
| 730 | fn from_u8_lsb() { |
nothing calls this directly
no outgoing calls
no test coverage detected