blob: 3bccf103545272018395a3bea1b1087eba87486f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#include "stdafx.h"
#include "CppUnitTest.h"
#include "../shared_string.h"
using namespace Microsoft::VisualStudio::CppUnitTestFramework;
namespace shared_string_test
{
TEST_CLASS(SharedStringTest)
{
public:
TEST_METHOD(Assign) {
shared_string s = "Test";
Assert::IsTrue(s == "Test");
s = "NO";
Assert::IsTrue(s == "NO");
}
};
}
|