mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
Correct error comment in ff-group-tests
This commit is contained in:
parent
e08adcc1ac
commit
7d12c785b7
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Reference in a new issue