mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
tests: Add fuzzing coverage for ParseFixedPoint(...)
This commit is contained in:
parent
1532259fca
commit
dde508b8b0
1 changed files with 4 additions and 0 deletions
|
|
@ -115,4 +115,8 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
|||
assert(data_stream.empty());
|
||||
assert(deserialized_string == random_string_1);
|
||||
}
|
||||
{
|
||||
int64_t amount_out;
|
||||
(void)ParseFixedPoint(random_string_1, fuzzed_data_provider.ConsumeIntegralInRange<int>(0, 1024), &amount_out);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue