#include <stdio.h>
#include <testRunner.h> /* ... (1) */
static unsigned int testEasySample(void);
static unsigned int testManyFunction(void);
/** Main function. */
int main(void) {
return (int) testRunner(testManyFunction); /* ... (2) */
}
unsigned int testEasySample(void) { /* ... (3) */
int a = 1 + 1;
int b = 2;
TEST_ASSERT_EQUALS(a,b); /* .... (4) */
return 0; /* ... (5) */
}
unsigned int testManyFunction(void) {
TEST_ASSERT(! testEasySample()); /* ... (6) */
TEST_ASSERT(! testEasySample());
return 0;
}