From 555849edd9b7053e7197b88e150aa05479df0872 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Fri, 28 Feb 2025 17:21:25 -0500 Subject: failing pressure tests --- Makefile | 2 +- test.c | 11 +++++++++++ test.h | 11 +++++++++++ test_pressure.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+), 1 deletion(-) create mode 100644 test_pressure.c diff --git a/Makefile b/Makefile index 485a08a..8dd85cc 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SRC = main.c microui.c renderer.c widget.c ui.c unit.c engine.c OBJ = ${SRC:.c=.o} HDR = microui.h renderer.h widget.h ui.h unit.h engine.h -TEST_SRC = test.c test_angular_speed.c test_volume.c unit.c +TEST_SRC = test.c test_angular_speed.c test_pressure.c test_volume.c unit.c TEST_OBJ = ${TEST_SRC:.c=.o} volute: ${OBJ} diff --git a/test.c b/test.c index 0a0b4a9..fed69c7 100644 --- a/test.c +++ b/test.c @@ -9,6 +9,17 @@ main(void) { test_as_deg_per_sec(); test_as_rpm(); + test_pascal(); + test_millibar(); + test_kilopascal(); + test_bar(); + test_psi(); + test_as_pascal(); + test_as_millibar(); + test_as_kilopascal(); + test_as_bar(); + test_as_psi(); + test_cubic_centimetre(); test_litre(); test_cubic_metre(); diff --git a/test.h b/test.h index 033a955..9cb9b8f 100644 --- a/test.h +++ b/test.h @@ -15,6 +15,17 @@ void test_as_rad_per_sec(void); void test_as_deg_per_sec(void); void test_as_rpm(void); +void test_pascal(void); +void test_millibar(void); +void test_kilopascal(void); +void test_bar(void); +void test_psi(void); +void test_as_pascal(void); +void test_as_millibar(void); +void test_as_kilopascal(void); +void test_as_bar(void); +void test_as_psi(void); + void test_cubic_centimetre(void); void test_litre(void); void test_cubic_metre(void); diff --git a/test_pressure.c b/test_pressure.c new file mode 100644 index 0000000..a64bac9 --- /dev/null +++ b/test_pressure.c @@ -0,0 +1,54 @@ +#include +#include + +#include "test.h" + +void +test_pascal(void) { + assert(0); +} + +void +test_millibar(void) { + assert(0); +} + +void +test_kilopascal(void) { + assert(0); +} + +void +test_bar(void) { + assert(0); +} + +void +test_psi(void) { + assert(0); +} + +void +test_as_pascal(void) { + assert(0); +} + +void +test_as_millibar(void) { + assert(0); +} + +void +test_as_kilopascal(void) { + assert(0); +} + +void +test_as_bar(void) { + assert(0); +} + +void +test_as_psi(void) { + +} -- cgit v1.2.3