Correct error comment in ff-group-tests

This commit is contained in:
Luke Parker 2023-03-07 03:46:55 -05:00
parent e08adcc1ac
commit 7d12c785b7
No known key found for this signature in database

View file

@ -11,7 +11,7 @@ use crate::prime_field::{test_prime_field, test_prime_field_bits};
pub fn test_eq<G: Group>() { pub fn test_eq<G: Group>() {
assert_eq!(G::identity(), G::identity(), "identity != identity"); assert_eq!(G::identity(), G::identity(), "identity != identity");
assert_eq!(G::generator(), G::generator(), "generator != generator"); assert_eq!(G::generator(), G::generator(), "generator != generator");
assert!(G::identity() != G::generator(), "identity != generator"); assert!(G::identity() != G::generator(), "identity == generator");
} }
/// Test identity. /// Test identity.