ZenGo-X / curv

Rust language general purpose elliptic curve cryptography.
MIT License
264 stars 111 forks source link

Expose `test_for_all_curves!` macro #96

Open survived opened 3 years ago

survived commented 3 years ago

Turned out that test_for_all_curves! macro is convenient to use in dependent crates (like bulletproof, etc.). PR adds a feature testing-utils which exposes it. Also, the macro got documentation that clarifies its purpose.

UPD: also fixed a test that fails with 1/16 probability