More unit tests
This commit is contained in:
@@ -10,12 +10,12 @@ namespace UnitTests
|
||||
TEST_CLASS(SiaApi)
|
||||
{
|
||||
private:
|
||||
const SiaHostConfig TEST_HOST_CONFIG = { L"localhost", 9980, TEST_SERVER_VERSION };
|
||||
const SiaHostConfig _hostConfig = { TEST_SERVER_AND_PORT, TEST_SERVER_VERSION };
|
||||
|
||||
public:
|
||||
TEST_METHOD(GetServerVersion)
|
||||
{
|
||||
CSiaApi api(TEST_HOST_CONFIG);
|
||||
CSiaApi api(_hostConfig);
|
||||
Assert::IsTrue(api.GetServerVersion() == TEST_SERVER_VERSION);
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user