more concise tests
This commit is contained in:
4
tests.c
4
tests.c
@@ -8,9 +8,6 @@ void divide_by_zero() {
|
|||||||
int x = 0;
|
int x = 0;
|
||||||
int y = 5;
|
int y = 5;
|
||||||
int z = y/x;
|
int z = y/x;
|
||||||
if(z) {
|
|
||||||
printf("hmm\n");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_serial_write() {
|
void test_serial_write() {
|
||||||
@@ -28,4 +25,5 @@ void test_dispatcher() {
|
|||||||
clear_fb();
|
clear_fb();
|
||||||
test_write();
|
test_write();
|
||||||
divide_by_zero();
|
divide_by_zero();
|
||||||
|
test_write();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user