这篇教程C++ test01函数代码示例写得很实用,希望能帮到您。
本文整理汇总了C++中test01函数的典型用法代码示例。如果您正苦于以下问题:C++ test01函数的具体用法?C++ test01怎么用?C++ test01使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。 在下文中一共展示了test01函数的29个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。 示例1: test01TcpNotUdpvoid test01TcpNotUdp(int testNoOffset, int tcpNotUdp){ char testName[64]; DWORD blocks01[1] = {32}; generateTestName(tcpNotUdp, "echo 32 B", testName); test01(0x0101 + testNoOffset, testName, tcpNotUdp, &blocks01[0], 1); DWORD blocks02[3] = {250, 250, 250}; generateTestName(tcpNotUdp, "echo 750 B", testName); test01(0x0102 + testNoOffset, testName, tcpNotUdp, &blocks02[0], 3); DWORD blocks03[3] = {511, 512, 513}; generateTestName(tcpNotUdp, "echo 1536 B", testName); test01(0x0103 + testNoOffset, testName, tcpNotUdp, &blocks03[0], 3); DWORD blocks04[3] = {1000, 250, 1000}; generateTestName(tcpNotUdp, "echo 2250 B", testName); test01(0x0104 + testNoOffset, testName, tcpNotUdp, &blocks04[0], 3); if(tcpNotUdp) { DWORD blocks05[4] = {500, 1000, 1500, 2000}; generateTestName(tcpNotUdp, "echo 15000 B", testName); test01(0x0105 + testNoOffset, testName, tcpNotUdp, &blocks05[0], 4); DWORD blocks06[3] = {5000, 10000, 16000}; generateTestName(tcpNotUdp, "echo 31000 B", testName); test01(0x0106 + testNoOffset, testName, tcpNotUdp, &blocks06[0], 3); }}
开发者ID:atarijookie,项目名称:ce-atari,代码行数:30,
示例2: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for UNICYCLE_PRB. Discussion: UNICYCLE_PRB tests the UNICYCLE library. Licensing: This code is distributed under the GNU LGPL license. Modified: 17 June 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "UNICYCLE_PRB/n" ); printf ( " C version/n" ); printf ( " Test the UNICYCLE library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( ); test07 ( ); test08 ( );/* Terminate.*/ printf ( "/n" ); printf ( "UNICYCLE_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:spino327,项目名称:jburkardt-c,代码行数:52,
示例3: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for CHEBYSHEV_INTERP_1D_PRB. Discussion: CHEBYSHEV_INTERP_1D_PRB tests the CHEBYSHEV_INTERP_1D library. Licensing: This code is distributed under the GNU LGPL license. Modified: 27 September 2012 Author: John Burkardt*/{ int prob; int prob_num; timestamp ( ); printf ( "/n" ); printf ( "CHEBYSHEV_INTERP_1D_PRB:/n" ); printf ( " C version/n" ); printf ( " Test the CHEBYSHEV_INTERP_1D library./n" ); printf ( " The QR_SOLVE and R8LIB libaries are needed./n" ); printf ( " The test needs the TEST_INTERP library./n" ); prob_num = p00_prob_num ( ); for ( prob = 1; prob <= prob_num; prob++ ) { test01 ( prob ); }/* Terminate.*/ printf ( "/n" ); printf ( "CHEBYSHEV_INTERP_1D_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:52,
示例4: asa241Test//Purpose: tests the ASA241 library.void asa241Test ( ){ timestamp ( ); printf ( "/n" ); printf ( " Test the ASA241 library./n" ); test01 ( ); test02 ( ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( );}
开发者ID:alhunor,项目名称:projects,代码行数:14,
示例5: MEKD_Test_Debug_Ghosts_Test0int MEKD_Test_Debug_Ghosts_Test0(){ /// TEST 0 if (Show_Description) cout << "/n -- STARTING TEST 0 -- /n"; const unsigned int Nr_of_models = 4; double ME[Nr_of_models]; MEKD test01(8.0, ""), test02(8.0, ""); string model[Nr_of_models]; model[0] = "ggSpin2Mh"; // 8 model[1] = "ggSpin2Pm"; // 10 model[2] = "ggSpin2Pm"; // 8 model[3] = "ggSpin2Mh"; // 10 if (Show_Description) cout << "Testing ME ordering using int computeME( string, " "vector<double*>, vector<int>, double& );/n"; if ((error_value = test01.computeME(model[0], Set_Of_Arrays, Set_Of_IDs, ME[0])) != 0) cout << "ERROR CODE in ME for " << model[0] << "; Err: " << error_value << endl; if ((error_value = test01.computeME(model[1], Set_Of_Arrays, Set_Of_IDs, ME[1])) != 0) cout << "ERROR CODE in ME for " << model[1] << "; Err: " << error_value << endl; if ((error_value = test02.computeME(model[2], Set_Of_Arrays, Set_Of_IDs, ME[2])) != 0) cout << "ERROR CODE in ME for " << model[2] << "; Err: " << error_value << endl; if ((error_value = test02.computeME(model[3], Set_Of_Arrays, Set_Of_IDs, ME[3])) != 0) cout << "ERROR CODE in ME for " << model[3] << "; Err: " << error_value << endl; if (Show_Basic_Data) { if (Show_Description) cout << "Initial results, before any permutation./n"; cout.width(20); cout << std::left << "Model" << std::right << "ME value/n/n"; for (unsigned int count = 0; count < Nr_of_models; count++) { cout.width(20); cout << std::left << model[count] << std::right << ME[count] << endl; } } return 0;}
开发者ID:odysei,项目名称:MEKD,代码行数:51,
示例6: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for SUPER_BLAS1_S_PRB. Discussion: SUPER_BLAS1_S_PRB tests the BLAS1 single precision real routines. Modified: 29 March 2007 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "SUPER_BLAS1_S_PRB:/n" ); printf ( " C version/n" ); printf ( " Single precision real arithmetic./n" ); printf ( " Test routines in the SUPER_BLAS library,/n" ); printf ( " the Level 1 Basic Linear Algebra Subprograms./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( ); test07 ( ); test08 ( ); test09 ( ); test11 ( ); printf ( "/n" ); printf ( "SUPER_BLAS1_S_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:spino327,项目名称:jburkardt-c,代码行数:51,
示例7: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for TEST_MIN_PRB. Discussion: TEST_MIN_PRB calls the TEST_MIN tests. Licensing: This code is distributed under the GNU LGPL license. Modified: 03 February 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "TEST_MIN_PRB/n" ); printf ( " C version/n" ); printf ( " Test the TEST_MIN library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( );/* Terminate.*/ printf ( "/n" ); printf ( "TEST_MIN_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:spino327,项目名称:jburkardt-c,代码行数:50,
示例8: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for POLYGON_MONTE_CARLO_PRB. Discussion: POLYGON_MONTE_CARLO_PRB tests the POLYGON_MONTE_CARLO library. Licensing: This code is distributed under the GNU LGPL license. Modified: 09 May 2014 Author: John Burkardt*/{ int nv1 = 4; double v1[2*4] = { -1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, 1.0 }; timestamp ( ); printf ( "/n" ); printf ( "POLYGON_MONTE_CARLO_PRB/n" ); printf ( " C version/n" ); printf ( " Test the POLYGON_MONTE_CARLO library./n" ); test01 ( nv1, v1 );/* Terminate.*/ printf ( "/n" ); printf ( "POLYGON_MONTE_CARLO_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:50,
示例9: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for TEST_INTERP_1D_PRB. Discussion: TEST_INTERP_1D_PRB tests the TEST_INTERP_1D library. Licensing: This code is distributed under the GNU LGPL license. Modified: 28 August 2012 Author: John Burkardt*/{ int nd; timestamp ( ); printf ( "/n" ); printf ( "TEST_INTERP_1D_TEST/n" ); printf ( " C version/n" ); printf ( " Test the TEST_INTERP_1D library./n" ); printf ( " The R8LIB library is needed./n" ); test01 ( ); nd = 11; test02 ( nd );/* Terminate.*/ printf ( "/n" ); printf ( "TEST_INTERP_1D_TEST/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:50,
示例10: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for SUPER_BLAS1_S_PRB. Discussion: SUPER_BLAS1_S_PRB tests the SUPER_BLAS library. Modified: 29 March 2007 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "SUPER_BLAS1_S_PRB:/n" ); printf ( " C version/n" ); printf ( " Single precision real arithmetic./n" ); printf ( " Test the SUPER_BLAS library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( ); test07 ( ); test08 ( ); test09 ( ); test11 ( );/* Terminate.*/ printf ( "/n" ); printf ( "SUPER_BLAS1_S_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:50,
示例11: mainint main ( )/******************************************************************************//* Purpose: COMPLEX_NUMBERS is a program which demonstrates the use of complex numbers. Licensing: This code is distributed under the GNU LGPL license. Modified: 06 November 2010 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "COMPLEX_NUMBERS/n" ); printf ( " C version/n" ); printf ( " Demonstrate complex number usage./n" ); /* Single precision complex numbers: "complex". */ test01 ( ); test02 ( ); test03 ( ); /* Double precision complex numbers: "double complex". */ test04 ( ); test05 ( ); test06 ( ); /* Terminate. */ printf ( "/n" ); printf ( "COMPLEX_NUMBERS/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:lavrovd,项目名称:jburkardt-c,代码行数:50,
示例12: parse_cmdvoid parse_cmd(String str){ if(str == "help") {printHelp();} else if(str == "t1") {test01(RUNTEST);} else if(str == "t2") {test02(RUNTEST);} else if(str == "t3") {test03(RUNTEST);} else if(str == "t4") {test04(RUNTEST);} else if(str == "t5") {test05(RUNTEST);} else if(str == "t6") {test06(RUNTEST);} else if(str == "t7") {test07(RUNTEST);} else if(str == "t8") {test08(RUNTEST);} else if(str == "t9") {test09(RUNTEST);} else if(str == "ta") {test10(RUNTEST);} else if(str == "tb") {test11(RUNTEST);} else if(str == "tc") {test12(RUNTEST);} else if(str == "td") {test13(RUNTEST);} else if(str == "te") {test14(RUNTEST);} else if(str == "tf") {test15(RUNTEST);} else if(str == "d1") {test01(DESCRIPTION);} else if(str == "d2") {test02(DESCRIPTION);} else if(str == "d3") {test03(DESCRIPTION);} else if(str == "d4") {test04(DESCRIPTION);} else if(str == "d5") {test05(DESCRIPTION);} else if(str == "d6") {test06(DESCRIPTION);} else if(str == "d7") {test07(DESCRIPTION);} else if(str == "d8") {test08(DESCRIPTION);} else if(str == "d9") {test09(DESCRIPTION);} else if(str == "da") {test10(DESCRIPTION);} else if(str == "db") {test11(DESCRIPTION);} else if(str == "dc") {test12(DESCRIPTION);} else if(str == "dd") {test13(DESCRIPTION);} else if(str == "de") {test14(DESCRIPTION);} else if(str == "df") {test15(DESCRIPTION);} else {Serial.print("/n/rBad Command: "); Serial.println(str);}}
开发者ID:Engimusing,项目名称:engimusing.github.io,代码行数:37,
示例13: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for QR_SOLVE_PRB. Discussion: QR_SOLVE_PRB tests the QR_SOLVE library. Licensing: This code is distributed under the GNU LGPL license. Modified: 04 October 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "QR_SOLVE_PRB/n" ); printf ( " C version/n" ); printf ( " Test the QR_SOLVE library./n" ); printf ( " QR_SOLVE needs the R8LIB library./n" ); printf ( " This test also needs the TEST_LS library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ printf ( "/n" ); printf ( "QR_SOLVE_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:49,
示例14: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for BERNSTEIN_POLYNOMIAL_PRB. Discussion: BERNSTEIN_POLYNOMIAL_PRB tests the BERNSTEIN_POLYNOMIAL library. Licensing: This code is distributed under the GNU LGPL license. Modified: 13 May 2013 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "BERNSTEIN_POLYNOMIAL_PRB/n" ); printf ( " C version/n" ); printf ( " Test the BERNSTEIN_POLYNOMIAL library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( );/* Terminate.*/ printf ( "/n" ); printf ( "BERNSTEIN_POLYNOMIAL_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( " /n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:48,
示例15: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for HERMITE_TEST_INT_PRB. Discussion: HERMITE_TEST_INT_PRB tests the HERMITE_TEST_INT library. Licensing: This code is distributed under the GNU LGPL license. Modified: 11 September 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "HERMITE_TEST_INT_PRB/n" ); printf ( " C version/n" ); printf ( " Test the HERMITE_TEST_INT library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( ); test06 ( );/* Terminate.*/ printf ( "/n" ); printf ( "HERMITE_TEST_INT_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:48,
示例16: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for OWENS_PRB. Discussion: OWENS_PRB calls the OWENS routines. Licensing: This code is distributed under the GNU LGPL license. Modified: 23 November 2010 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "OWENS_PRB:/n" ); printf ( " C version/n" ); printf ( " Test the OWENS library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ printf ( "/n" ); printf ( "OWENS_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:latifkabir,项目名称:Computation_using_C,代码行数:48,
示例17: mainint main ( )/******************************************************************************//* Purpose: GEOMPACK_PRB tests routines from the GEOMPACK library. Licensing: This code is distributed under the GNU LGPL license. Modified: 23 October 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "GEOMPACK_PRB/n" ); printf ( " C version/n" ); printf ( " Test the GEOMPACK library./n" ); test005 ( ); test01 ( ); test02 ( ); test03 ( ); test05 ( ); test06 ( ); test07 ( ); test08 ( );/* Terminate.*/ printf ( "/n" ); printf ( "GEOMPACK_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:latifkabir,项目名称:Computation_using_C,代码行数:48,
示例18: mainint main(int argc, char** argv){ verbose = getenv("PEGASUS_TEST_VERBOSE"); try { test01(); } catch (Exception& e) { cout << "Exception: " << e.getMessage() << endl; } cout << argv[0] << " +++++ passed all tests" << endl; return 0;}
开发者ID:ncultra,项目名称:Pegasus-2.5,代码行数:16,
示例19: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for BISECTION_RC_PRB. Discussion: BISECTION_RC_PRB tests the BISECTION_RC library. Licensing: This code is distributed under the GNU LGPL license. Modified: 17 January 2015 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "BISECTION_RC_PRB:/n" ); printf ( " C version./n" ); printf ( " Test the BISECTION_RC library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( ); test05 ( );/* Terminate.*/ printf ( "/n" ); printf ( "BISECTION_RC_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:47,
示例20: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for PIECEWISE_LINEAR_PRODUCT_INTEGRAL_PRB. Discussion: PIECEWISE_LINEAR_PRODUCT_INTEGRAL_PRB tests the PIECEWISE_LINEAR_PRODUCT_INTEGRAL library. Licensing: This code is distributed under the GNU LGPL license. Modified: 04 July 2013 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "PIECEWISE_LINEAR_PRODUCT_INTEGRAL_PRB/n" ); printf ( " C version/n" ); printf ( " Test the PIECEWISE_LINEAR_PRODUCT_INTEGRAL_INTEGRAL library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ printf ( "/n" ); printf ( "PIECEWISE_LINEAR_PRODUCT_INTEGRAL_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:47,
示例21: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for PINK_NOISE_PRB. Discussion: PINK_NOISE_PRB tests the PINK_NOISE library. Licensing: This code is distributed under the GNU LGPL license. Modified: 31 May 2010 Author: John Burkardt*/{ timestamp ( ); fprintf ( stdout, "/n" ); fprintf ( stdout, "PINK_NOISE_PRB:/n" ); fprintf ( stdout, " C version/n" ); fprintf ( stdout, " Test the PINK_NOISE library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ fprintf ( stdout, "/n" ); fprintf ( stdout, "PINK_NOISE_PRB:/n" ); fprintf ( stdout, " Normal end of execution./n" ); fprintf ( stdout, "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:46,
示例22: mainOriginalint mainOriginal()/******************************************************************************//*Purpose:MAIN is the main program for FFTW3_PRB.Discussion:FFTW3_PRB tests the FFTW3 library.Licensing:This code is distributed under the GNU LGPL license.Modified:05 November 2007Author:John Burkardt*/{ timestamp(); printf("/n"); printf("FFTW3_PRB/n"); printf(" C version/n"); printf(" Test the FFTW3 library./n"); test01(); test02(); test03(); test04(); /* Terminate. */ printf("/n"); printf("FFTW3_PRB/n"); printf(" Normal end of execution./n"); printf("/n"); timestamp(); return 0;}
开发者ID:danim1236,项目名称:FFT,代码行数:46,
示例23: mainint main ( void )/******************************************************************************//* Purpose: MAINI is the main program for RANDLC_PRB. Discussion: RANDLC_PRB tests the RANDLC library. Licensing: This code is distributed under the GNU LGPL license. Modified: 12 March 2010 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "RANDLC_PRB/n" ); printf ( " C version:/n" ); printf ( " Test the RANDLC library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ printf ( "/n" ); printf ( "RANDLC_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:46,
示例24: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for ST_TO_CC_PRB. Discussion: ST_TO_CC_PRB tests the ST_TO_CC library. Licensing: This code is distributed under the GNU LGPL license. Modified: 15 July 2014 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "ST_TO_CC_PRB/n" ); printf ( " C version/n" ); printf ( " Test the ST_TO_CC library./n" ); test01 ( ); test02 ( ); test03 ( ); test04 ( );/* Terminate.*/ printf ( "/n" ); printf ( "ST_TO_CC_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:46,
示例25: mainintmain(void){ main_tid = thread_l4tid(env_thread(iguana_getenv("MAIN"))); printf("/nKernel counter example/n"); printf("----------/n"); test01(); test02(); test03(); printf("Kernel counter example finished/n"); L4_KDB_Enter("done"); return 0;}
开发者ID:BreezeWu,项目名称:okl4_3.0,代码行数:17,
示例26: mainint main ( void )/******************************************************************************//* Purpose: MAIN is the main program for TEST_INTERP_PRB. Discussion: TEST_INTERP_PRB tests the TEST_INTERP library. Licensing: This code is distributed under the GNU LGPL license. Modified: 06 February 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "TEST_INTERP_PRB/n" ); printf ( " C version/n" ); printf ( " Test the TEST_INTERP library./n" ); printf ( " This test also requires the R8LIB library./n" ); test01 ( ); test02 ( );/* Terminate.*/ printf ( "/n" ); printf ( "TEST_INTERP_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:45,
示例27: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for COLLATZ_RECURSIVE_PRB. Discussion: COLLATZ_RECURSIVE_PRB tests the COLLATZ_RECURSIVE library. Licensing: This code is distributed under the GNU LGPL license. Modified: 09 March 2012 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "COLLATZ_RECURSIVE_PRB/n" ); printf ( " C version/n" ); printf ( " Test the COLLATZ_RECURSIVE library./n" ); test01 ( );/* Terminate.*/ printf ( "/n" ); printf ( "COLLATZ_RECURSIVE_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:denyslf,项目名称:jburkardt-cpp,代码行数:45,
示例28: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for HIGH_CARD_SIMULATION_PRB. Discussion: HIGH_CARD_SIMULATION_PRB tests the HIGH_CARD_SIMULATION library. Licensing: This code is distributed under the GNU LGPL license. Modified: 25 February 2014 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "HIGH_CARD_SIMULATION_PRB/n" ); printf ( " C version./n" ); printf ( " Test the HIGH_CARD_SIMULATION library./n" ); test01 ( ); test02 ( ); test03 ( );/* Terminate.*/ printf ( "/n" ); printf ( "HIGH_CARD_SIMULATION_PRB/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:45,
示例29: mainint main ( )/******************************************************************************//* Purpose: MAIN is the main program for ASA245_PRB. Discussion: ASA245_PRB tests the ASA245 library. Licensing: This code is distributed under the GNU LGPL license. Modified: 25 September 2014 Author: John Burkardt*/{ timestamp ( ); printf ( "/n" ); printf ( "ASA245_PRB:/n" ); printf ( " C version/n" ); printf ( " Test the ASA245 library./n" ); test01 ( ); test02 ( ); test03 ( );/* Terminate.*/ printf ( "/n" ); printf ( "ASA245_PRB:/n" ); printf ( " Normal end of execution./n" ); printf ( "/n" ); timestamp ( ); return 0;}
开发者ID:johannesgerer,项目名称:jburkardt-c,代码行数:45,
注:本文中的test01函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 C++ test5函数代码示例 C++ test0函数代码示例 |