treasurechest/tests/KeyGenTest.cs

24 lines
475 B
C#
Raw Normal View History

2020-05-08 13:38:08 +00:00
using NUnit.Framework;
using chestcrypto;
using System;
namespace tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void TestKeyGen()
{
System.Console.Write(chestcrypto.PrivateKeyGenerator.generate().Length);
if (chestcrypto.PrivateKeyGenerator.generate().Length != 96){
Assert.Fail();
}
Assert.Pass();
}
}
}