1
0

Automated unit tests

This commit is contained in:
Scott E. Graves
2017-02-03 22:28:01 -06:00
parent cdaaafdb50
commit 232e71e57c
4 changed files with 78 additions and 3 deletions

View File

@@ -9,6 +9,8 @@ namespace UnitTests
{
TEST_CLASS(SiaApi)
{
DAEMON_TEST()
private:
const SiaHostConfig _hostConfig = { TEST_SERVER_AND_PORT, TEST_SERVER_VERSION };
@@ -19,4 +21,6 @@ namespace UnitTests
Assert::IsTrue(api.GetServerVersion() == TEST_SERVER_VERSION);
}
};
Daemon SiaApi::_daemon;
}