mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add sanity check
This commit is contained in:
parent
5cc760bd71
commit
bb11d9d671
2 changed files with 4 additions and 1 deletions
|
@ -36,3 +36,4 @@ class NumbersTestCase(unittest.TestCase):
|
|||
self.assertEqual(pid, 0xa1234567812345678)
|
||||
self.assertEqual(pid, '00000000000000000000000000000000000000000000000a1234567812345678')
|
||||
self.assertEqual(PaymentID(pid), pid)
|
||||
self.assertRaises(ValueError, PaymentID, 2**256+1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue