Generate bignum test data for most operation functions #5959
Labels
component-crypto
Crypto primitives and low-level interfaces
enhancement
size-m
Estimated task size: medium (~1w)
Bignum operation functions are currently tested with manually written data. This has several downsides:
The goal of this task is to convert most bignum test data to automatically generated test cases, using the script from #5921.
Guidance:
add
have three parameters (left-hand side, right-hand side, expected result); calculate the expected result aslhs + rhs
. This way, we can write more test data with and it will automatically be correct..function
file will need to change.Prerequisites:
Follow-ups:
The text was updated successfully, but these errors were encountered: