()
| 794 | |
| 795 | #[test] |
| 796 | fn from_u32_le() { |
| 797 | assert!(Choice::from_u32_le(0, 0).eq(Choice::TRUE).to_bool()); |
| 798 | assert!(Choice::from_u32_le(1, 0).eq(Choice::FALSE).to_bool()); |
| 799 | assert!(Choice::from_u32_le(1, 1).eq(Choice::TRUE).to_bool()); |
| 800 | assert!(Choice::from_u32_le(1, 2).eq(Choice::TRUE).to_bool()); |
| 801 | } |
| 802 | |
| 803 | #[test] |
| 804 | fn from_u32_lsb() { |
nothing calls this directly
no outgoing calls
no test coverage detected