(base58_privkey, expected_hex_pubkey, expected_is_compressed_value)
| 243 | class Test_CBitcoinSecret(unittest.TestCase): |
| 244 | def test(self): |
| 245 | def T(base58_privkey, expected_hex_pubkey, expected_is_compressed_value): |
| 246 | key = CBitcoinSecret(base58_privkey) |
| 247 | self.assertEqual(b2x(key.pub), expected_hex_pubkey) |
| 248 | self.assertEqual(key.is_compressed, expected_is_compressed_value) |
| 249 | |
| 250 | T('5KJvsngHeMpm884wtkJNzQGaCErckhHJBGFsvd3VyK5qMZXj3hS', |
| 251 | '0478d430274f8c5ec1321338151e9f27f4c676a008bdf8638d07c0b6be9ab35c71a1518063243acd4dfe96b66e3f2ec8013c8e072cd09b3834a19f81f659cc3455', |
nothing calls this directly
no test coverage detected