Extracted from #174, but just puts the framework in place.
Rework group tests #176
pull sipa wants to merge 2 commits into bitcoin-core:master from sipa:getests changing 1 files +146 −99-
sipa commented at 2:39 PM on December 29, 2014: contributor
-
Rework group tests 60571c6e45
- sipa cross-referenced this on Dec 29, 2014 from issue Co-Z + effective affine precomputation + tests by sipa
-
gmaxwell commented at 4:10 PM on December 29, 2014: contributor
Might want to add abstract test for the reference addition formula, e.g. sum up your inputs in random order and check that the sum is infinity; otherwise all the addition formula could be wrong in a consistent way and it wouldn't be detected.
-
9ab93355f2
Add a reference consistency test to ge_tests.
This adds all points used in the test together in random order, which should result in infinity. Suggested by Greg Maxwell.
-
gmaxwell commented at 9:46 AM on December 30, 2014: contributor
ACK.
- sipa merged this on Jan 2, 2015
- sipa closed this on Jan 2, 2015
- sipa referenced this in commit 4ee4f7ac3f on Jan 2, 2015