diff options
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(); +}); |