()
| 765 | |
| 766 | #[test] |
| 767 | fn from_u16_lsb() { |
| 768 | assert!(Choice::from_u16_lsb(0).eq(Choice::FALSE).to_bool()); |
| 769 | assert!(Choice::from_u16_lsb(1).eq(Choice::TRUE).to_bool()); |
| 770 | assert!(Choice::from_u16_lsb(2).eq(Choice::FALSE).to_bool()); |
| 771 | assert!(Choice::from_u16_lsb(3).eq(Choice::TRUE).to_bool()); |
| 772 | } |
| 773 | |
| 774 | #[test] |
| 775 | fn from_u16_lt() { |
no outgoing calls
no test coverage detected