diff options
author | Jon Atack <jon@atack.com> | 2021-03-19 23:50:36 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-03-19 23:50:36 +0100 |
commit | 3d086f42ab58f0f5984101d5285d5a707e3dc8e7 (patch) | |
tree | 73d53dc74ba256b4d494f04b46fe68b52c7aa61a /src/test/fuzz/parse_numbers.cpp | |
parent | 3530d5d2d851d025b013b2ea79ed39a57cbbafcd (diff) | |
download | bitcoin-3d086f42ab58f0f5984101d5285d5a707e3dc8e7.tar.xz |
test: add ParseUInt16() 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 1ad5fb6a05..2c546e9b4a 100644 --- a/src/test/fuzz/parse_numbers.cpp +++ b/src/test/fuzz/parse_numbers.cpp @@ -21,6 +21,9 @@ FUZZ_TARGET(parse_numbers) uint8_t u8; (void)ParseUInt8(random_string, &u8); + uint16_t u16; + (void)ParseUInt16(random_string, &u16); + int32_t i32; (void)ParseInt32(random_string, &i32); (void)atoi(random_string); |