mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-07 20:30:34 +00:00
Remove a redundant bool::from.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
7dc21f4727
commit
e408a351d5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ fn test_iso_map() {
|
||||||
let p2 =
|
let p2 =
|
||||||
super::hashtocurve::iso_map::<_, Affine, super::IsoEpAffine>(&r2, &Ep::ISOGENY_CONSTANTS);
|
super::hashtocurve::iso_map::<_, Affine, super::IsoEpAffine>(&r2, &Ep::ISOGENY_CONSTANTS);
|
||||||
assert!(bool::from(p2.is_on_curve()));
|
assert!(bool::from(p2.is_on_curve()));
|
||||||
assert!(bool::from(p2 == p.double()));
|
assert!(p2 == p.double());
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue