Module ff_group_tests::group
source · Expand description
Tests for the Group and GroupEncoding traits.
Functions§
- Test addition.
- Test doubling of group elements.
- Test encoding and decoding of group elements.
- Test equality.
- Sanity check the generator.
- Run all tests on groups implementing Group.
- Test identity.
- Test scalar multiplication
- Test negation.
- Test
((order - 1) * G) + G == identity
. - Run all tests on groups implementing PrimeGroup (Group + GroupEncoding).
- Run all tests offered by this crate on the group.
- Test random.
- Test subtraction.
- Test summation.