#include "stdafx.h" #include "CppUnitTest.h" #include "Header.h" #include <string> using namespace Microsoft::VisualStudio::CppUnitTestFramework; namespace UnitTest1 { TEST_CLASS(UnitTest1) { public: TEST_METHOD(TestMethod1) { string T_name; string subject; int age; int Class_teacher; int ch=0; teacher T; Assert::IsTrue(ch = 1, T.create_node(T_name, subject, Class_teacher, age)); }; }; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)