Add file structure for automatic unit-testing

This commit is contained in:
2024-09-30 17:20:11 +02:00
parent e323ef4783
commit 396662bf7c
10 changed files with 31 additions and 2 deletions

1
tests/bus/test-i2c.c Normal file
View File

@@ -0,0 +1 @@
static void *TODO;

1
tests/bus/test-mosfet.c Normal file
View File

@@ -0,0 +1 @@
static void *TODO;

1
tests/bus/test-pwm.c Normal file
View File

@@ -0,0 +1 @@
static void *TODO;

1
tests/bus/test-usart.c Normal file
View File

@@ -0,0 +1 @@
static void *TODO;

1
tests/common/test-math.c Normal file
View File

@@ -0,0 +1 @@
static void *TODO;

View File

@@ -0,0 +1 @@
static void *TODO;

View File

@@ -0,0 +1 @@
static void *TODO;

10
tests/main.c Normal file
View File

@@ -0,0 +1,10 @@
// TODO: Automatic unit-testing.
int main(void)
{
// 1. Write unit-tests.
// 2. Run them.
// 3. Profit!
return 0;
}