()
| 3644 | |
| 3645 | #[test] |
| 3646 | fn parse_constant_from_booleans() { |
| 3647 | let c = Parser::new("-1 0 -1 0") |
| 3648 | .parse_literals_to_constant_data(I32X4) |
| 3649 | .unwrap(); |
| 3650 | assert_eq!( |
| 3651 | c.into_vec(), |
| 3652 | [ |
| 3653 | 0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF, 0, 0, 0, 0 |
| 3654 | ] |
| 3655 | ) |
| 3656 | } |
| 3657 | |
| 3658 | #[test] |
| 3659 | fn parse_unbounded_constants() { |
nothing calls this directly
no test coverage detected