()
| 757 | |
| 758 | #[test] |
| 759 | fn from_u16_le() { |
| 760 | assert!(Choice::from_u16_le(0, 0).eq(Choice::TRUE).to_bool()); |
| 761 | assert!(Choice::from_u16_le(1, 0).eq(Choice::FALSE).to_bool()); |
| 762 | assert!(Choice::from_u16_le(1, 1).eq(Choice::TRUE).to_bool()); |
| 763 | assert!(Choice::from_u16_le(1, 2).eq(Choice::TRUE).to_bool()); |
| 764 | } |
| 765 | |
| 766 | #[test] |
| 767 | fn from_u16_lsb() { |
nothing calls this directly
no outgoing calls
no test coverage detected