Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/starkbank_ecdsa-2.2.0-py3.11.egg/ellipticcurve/point.py: 80%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

10 statements  

1 

2 

3class Point: 

4 

5 def __init__(self, x=0, y=0, z=0): 

6 self.x = x 

7 self.y = y 

8 self.z = z 

9 

10 def __str__(self): 

11 return "({x}, {y}, {z})".format(x=self.x, y=self.y, z=self.z) 

12 

13 def isAtInfinity(self): 

14 return self.y == 0