()
| 802 | |
| 803 | #[test] |
| 804 | fn from_u32_lsb() { |
| 805 | assert!(Choice::from_u32_lsb(0).eq(Choice::FALSE).to_bool()); |
| 806 | assert!(Choice::from_u32_lsb(1).eq(Choice::TRUE).to_bool()); |
| 807 | assert!(Choice::from_u32_lsb(2).eq(Choice::FALSE).to_bool()); |
| 808 | assert!(Choice::from_u32_lsb(3).eq(Choice::TRUE).to_bool()); |
| 809 | } |
| 810 | |
| 811 | #[test] |
| 812 | fn from_u32_lt() { |
nothing calls this directly
no outgoing calls
no test coverage detected