ENTS-tock
Environmental NeTworked Sensor firmware on Tock OS
Loading...
Searching...
No Matches
main.c
Go to the documentation of this file.
1
16
#pragma GCC diagnostic ignored "-Wmissing-prototypes"
17
#pragma GCC diagnostic ignored "-Wmissing-declarations"
18
19
#include <stdio.h>
20
#include <string.h>
21
#include <unity.h>
22
26
void
setUp
(
void
) {}
27
31
void
tearDown
(
void
) {}
32
33
void
test_template
(
void
) {
34
int
two = 1 + 1;
35
TEST_ASSERT_EQUAL_INT(2, two);
36
}
37
38
int
main
(
void
) {
39
UNITY_BEGIN();
40
41
RUN_TEST(
test_template
);
42
43
return
UNITY_END();
44
}
main
int main()
Definition
main.c:4
setUp
void setUp(void)
Definition
main.c:24
tearDown
void tearDown(void)
Definition
main.c:26
test_template
void test_template(void)
Definition
main.c:33
embedded
stm32
tests
template
main.c
Generated by
1.9.8