Also test points that are not the identity

This commit is contained in:
Henry de Valence 2017-03-07 00:56:17 -08:00
parent 47143e9114
commit cf24cb8900

View file

@ -1278,7 +1278,8 @@ mod test {
#[test]
fn is_identity() {
assert!(ExtendedPoint::identity().is_identity());
assert!(ExtendedPoint::identity().is_identity() == true);
assert!(constants::BASEPOINT.is_identity() == false);
}
}