diff --git a/src/MathTester.sol b/src/MathTester.sol index b3435e7..43dcf2c 100644 --- a/src/MathTester.sol +++ b/src/MathTester.sol @@ -88,4 +88,8 @@ contract MathTester { function toAffineProjective(uint256 x, uint256 y, uint256 z) public pure returns (uint256, uint256) { return EllipticCurveProjective.toAffine(x, y, z); } + + function isOnCurve(uint256 x, uint256 y) public pure returns (bool) { + return EllipticCurveProjective.isOnCurve(x, y); + } }