diff options
author | Jon Atack <jon@atack.com> | 2021-03-14 13:10:25 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-03-15 20:50:20 +0100 |
commit | 24c6546946f28951aaef7631451a8490888a92b2 (patch) | |
tree | ce2bb7883171fae91cbf54cda5630e69a9af6fd0 /src/test/fuzz/parse_numbers.cpp | |
parent | 3c631917f3e0da84ee48295b7d2e93bc202bae0c (diff) |
test: add ParseUInt8() unit and fuzz test coverage
Diffstat (limited to 'src/test/fuzz/parse_numbers.cpp')
-rw-r--r-- | src/test/fuzz/parse_numbers.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/fuzz/parse_numbers.cpp b/src/test/fuzz/parse_numbers.cpp index ddd2bcfba3..1ad5fb6a05 100644 --- a/src/test/fuzz/parse_numbers.cpp +++ b/src/test/fuzz/parse_numbers.cpp @@ -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); |