예제 #1
0
	bool bigfixedTest::doTests()
	{
		TRACE_FUNCTION();
	 
		testPrimatives();
		testInitialise();
		testCompare();
		testAddSub ();
		testShift ();
		testMul ();
		testDiv ();

		LOGMSG (INFO, "");
		LOGMSG (INFO, neo::makeString("************************************************************"));
		LOGMSG (INFO, neo::makeString("**  Tests complete: ", m_passed?" [PASSED] ":" [FAILED] "));
		LOGMSG (INFO, neo::makeString("**    Tests Passed: ", m_numPassed));
		LOGMSG (INFO, neo::makeString("**    Tests Failed: ", m_numFailed));
		LOGMSG (INFO, neo::makeString("************************************************************"));
		LOGMSG (INFO, "");

		return m_passed;
	}
예제 #2
0
파일: main.cpp 프로젝트: maxrake/CppCourse
int main()
{
    testPrimatives();
}