more tests

This commit is contained in:
Pieter Wuille
2013-03-11 01:19:24 +01:00
parent cbd3617ea1
commit 4e0ed53985
4 changed files with 74 additions and 9 deletions

View File

@@ -78,7 +78,7 @@ public:
}
/** Checks whether this is a non-infinite point on the curve */
bool IsValid() {
bool IsValid() const {
if (IsInfinity())
return false;
// y^2 = x^3 + 7