minimalist hardware testing support
Dependents: MAX5715BOB_Tester MAX11131BOB_Tester MAX5171BOB_Tester MAX11410BOB_Tester ... more
Diff: MaximTinyTester.cpp
- Revision:
- 9:3ec00515891d
- Parent:
- 8:9171f0ab3c17
- Child:
- 10:b11ab5d7ac58
--- a/MaximTinyTester.cpp Tue Mar 17 04:00:17 2020 +0000 +++ b/MaximTinyTester.cpp Tue Mar 17 15:33:36 2020 -0700 @@ -163,6 +163,13 @@ #endif // USE_LEDS } +/** Print a message to the console during test. +*/ +void MaximTinyTester::print(const char* stringLiteralMessage) +{ + associatedCmdLine.serial().printf("\r\n %s", stringLiteralMessage); +} + /** Report number of pass and number of fail test results */ void MaximTinyTester::Report_Summary(void) @@ -374,8 +381,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -414,8 +419,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -456,8 +459,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -500,8 +501,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -546,8 +545,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -594,8 +591,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed @@ -645,8 +640,6 @@ * * @param[in] expect_result contains the expected result * -* @pre err_threshold determines how closely the result must match the expected value -* * @post nPass and nFail counters are updated * * @return true if success, false if test failed