diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-03-10 15:25:54 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-03-10 15:25:54 +0100 |
commit | 007df45ef9186c6f2c1a4fdb552faaec01857bf8 (patch) | |
tree | 434439322c5613429f1f87dd6fbde774fcc5c0bd /src/emscriptif-test.ts | |
parent | 8b6269872935c7353a397d45446a4d9ff1b540b6 (diff) | |
download | wallet-core-007df45ef9186c6f2c1a4fdb552faaec01857bf8.tar.xz |
only count pending refreshes
Diffstat (limited to 'src/emscriptif-test.ts')
-rw-r--r-- | src/emscriptif-test.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/emscriptif-test.ts b/src/emscriptif-test.ts index 3046a147e..cd99d0ed1 100644 --- a/src/emscriptif-test.ts +++ b/src/emscriptif-test.ts @@ -87,3 +87,16 @@ test("withdraw-request", (t: TestLib) => { t.assert(x.value == 3); t.pass(); }); + + +test("ecdsa", (t: TestLib) => { + const priv = native.EcdsaPrivateKey.create(); + const pub1 = priv.getPublicKey(); + t.pass(); +}); + +test("ecdhe", (t: TestLib) => { + const priv = native.EcdhePrivateKey.create(); + const pub = priv.getPublicKey(); + t.pass(); +}); |