Example greentea tests with Blinky library

Dependencies:   Blinky

Revision:
1:b0034f8b2c42
Parent:
0:0d5d376157a0
diff -r 0d5d376157a0 -r b0034f8b2c42 TESTS/Blinky/5_Blinks/main.cpp
--- a/TESTS/Blinky/5_Blinks/main.cpp	Mon Sep 19 22:12:16 2016 +0000
+++ b/TESTS/Blinky/5_Blinks/main.cpp	Tue Sep 27 22:24:35 2016 +0000
@@ -12,16 +12,6 @@
 //To be set by interrupt handler
 int measured_blinks = 0;
  
-// A test that returns successfully is considered successful
-void test_success() {
-    TEST_ASSERT(true);
-}
- 
-// Tests that assert are considered failing
-void test_failure() {
-    TEST_ASSERT(false);
-}
- 
 //To be called by interrupt, increases the number of measured rising edges 
 void count_blinks(){
         TEST_ASSERT_MESSAGE(++measured_blinks<=expected_blinks, "******Too many blinks!******");
@@ -47,7 +37,6 @@
     //Wait the appropriate amount of time for expected_blinks 
     Thread::wait(wait_time);
     blinker.stop();
-    test_success();
 }
  
 void blink_500(){