(self)
| 671 | class PrivateKeyTest(TestCase): |
| 672 | |
| 673 | def test_sign(self): |
| 674 | pk = PrivateKey(randint(0, N)) |
| 675 | z = randint(0, 2**256) |
| 676 | sig = pk.sign(z) |
| 677 | self.assertTrue(pk.point.verify(z, sig)) |
| 678 | |
| 679 | def test_wif(self): |
| 680 | pk = PrivateKey(2**256 - 2**199) |
nothing calls this directly
no test coverage detected