Tests for simple blinky library.

Dependencies:   Blinky

Fork of Blinky_Tests by Sarah Marsh

Revision:
1:b0034f8b2c42
Parent:
0:0d5d376157a0
Child:
2:a6755ef75598
--- 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(){