// -----------------------------------------------------------------------------
//  Use unit test framework
// -----------------------------------------------------------------------------
int main(int argc, char** argv)
{
  int err = EXIT_SUCCESS;


#if !REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif


  DREAM3D_REGISTER_TEST( testCase1() )
  DREAM3D_REGISTER_TEST( testCase2() )
  DREAM3D_REGISTER_TEST( testCase3() )
  DREAM3D_REGISTER_TEST( testCase4() )
  DREAM3D_REGISTER_TEST( testCase5() )
  DREAM3D_REGISTER_TEST( testCase6() )

#if REMOVE_TEST_FILES
  DREAM3D_REGISTER_TEST( RemoveTestFiles() )
#endif


  PRINT_TEST_SUMMARY();
  return err;
}
示例#2
0
		void testAllCases(){
			testCase1();
			testCase2();
			testCase3();
			testCase4();
			testCase5();
			testCase6();
			testCase7();
		}
示例#3
0
		void testAllCases(){
			testCase1();
			testCase2();
			testCase3();
			testCase4();
			testCase5();
			testCase6();
			testCase7();
			testCase8();
			testCase9();
			testCase10();
			testCase11();
			testCase12();
			testCase13();
			testCase14();
			testCase15();
		}