19 lines
406 B
C++
19 lines
406 B
C++
#include "pch.h"
|
|
#include "CppUnitTest.h"
|
|
#include "../NetTunnelSDK/tunnel.h"
|
|
|
|
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
|
|
|
|
namespace UTNetTunnelSDK {
|
|
TEST_CLASS(UTNetTunnelSDK) {
|
|
public:
|
|
TEST_METHOD(TestTestMessage) {
|
|
Assert::AreEqual("Test Message", TestMessage());
|
|
}
|
|
|
|
TEST_METHOD(TestTunnelSDKInitEnv) {
|
|
Assert::AreEqual(0, TunnelSDKInitEnv());
|
|
}
|
|
};
|
|
}
|