示例#1
0
TEST(ParserTest, ShouldOutputResult)
{
	TList<char>* inputString = UnitTestsHelper::CreateInputString("defhkljahkgnfasdjnckagruibvdnmcvaslkdkwabgjsavbaslkjfnsadlkfvhadbvhnzbcalskufgjasbdjlncsxn", 90);
	char* fileName = "Tests/in.txt";
	WriteDataToFile(fileName, inputString);

	FILE* inputFile = fopen(fileName, "r");
	Worker worker;
	worker.Execute(inputFile);

}
示例#2
0
int main(int argc, char** argv)
{
	//testing::InitGoogleTest(&argc, argv);
	//RUN_ALL_TESTS();
	//std::getchar(); // keep console window open until Return keystroke

	Worker worker;
	worker.Execute();
	//PrintLongTest();
	//getchar();
}