Move js functions to new file.

This commit is contained in:
tecnovert
2020-11-28 00:20:35 +02:00
parent bc60527940
commit 327394e81b
8 changed files with 221 additions and 168 deletions

View File

@@ -194,6 +194,12 @@ class Test(unittest.TestCase):
proof = ci.proveDLEAG(key)
assert(ci.verifyDLEAG(proof))
def test_rate(self):
scale_from = 8
scale_to = 12
amount_from = 100 * (10 ** scale_from)
rate = 0.1 * (10 ** scale_to)
if __name__ == '__main__':
unittest.main()