1
0

More unit tests

This commit is contained in:
Scott E. Graves
2017-02-03 17:04:00 -06:00
parent 316d20c495
commit edf1818255
3 changed files with 15 additions and 4 deletions

View File

@@ -21,11 +21,14 @@ namespace UnitTests
Assert::IsFalse(wallet->GetLocked());
}
TEST_METHOD(CreateWallet)
TEST_METHOD(CreateWalletWithEnglishSeed)
{
CSiaWalletPtr wallet = _api.GetWallet();
Assert::IsFalse(wallet->GetCreated());
String seed;
Assert::IsTrue(API_SUCCESS(SiaApiError, wallet->Create(seed)));
Assert::IsTrue(API_SUCCESS(SiaApiError, wallet->Create(SiaSeedLanguage::English, seed)));
Assert::IsTrue(wallet->GetCreated());
}
};
}