(text: &str)
| 3536 | #[test] |
| 3537 | fn u8_as_hex() { |
| 3538 | fn parse_as_uimm8(text: &str) -> ParseResult<u8> { |
| 3539 | Parser::new(text).match_uimm8("unable to parse u8") |
| 3540 | } |
| 3541 | |
| 3542 | assert_eq!(parse_as_uimm8("0").unwrap(), 0); |
| 3543 | assert_eq!(parse_as_uimm8("0xff").unwrap(), 255); |
nothing calls this directly
no test coverage detected