test: add ParseUInt8() unit and fuzz test coverage

This commit is contained in:
Jon Atack
2021-03-14 13:10:25 +01:00
parent 3c631917f3
commit 24c6546946
2 changed files with 39 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ FUZZ_TARGET(parse_numbers)
double d;
(void)ParseDouble(random_string, &d);
uint8_t u8;
(void)ParseUInt8(random_string, &u8);
int32_t i32;
(void)ParseInt32(random_string, &i32);
(void)atoi(random_string);