Rework group tests #176

pull sipa wants to merge 2 commits into bitcoin-core:master from sipa:getests changing 1 files +146 −99
  1. sipa commented at 2:39 PM on December 29, 2014: contributor

    Extracted from #174, but just puts the framework in place.

  2. Rework group tests 60571c6e45
  3. 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.

  4. 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.
    9ab93355f2
  5. sipa commented at 4:23 PM on December 29, 2014: contributor

    @gmaxwell Added.

  6. gmaxwell commented at 9:46 AM on December 30, 2014: contributor

    ACK.

  7. sipa merged this on Jan 2, 2015
  8. sipa closed this on Jan 2, 2015

  9. sipa referenced this in commit 4ee4f7ac3f on Jan 2, 2015

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-19 06:53 UTC