From 5e379b1cf70006dbe782df991a655c475630a146 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 2 Mar 2025 12:03:54 -0500 Subject: engine tests --- test.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test.h') diff --git a/test.h b/test.h index 4504b00..4f14ef8 100644 --- a/test.h +++ b/test.h @@ -2,7 +2,7 @@ #define test(got, want) { \ if (got < want-EPSILON || got > want+EPSILON) { \ - fprintf(stderr, "got %f; want %f\n", got, want); \ + fprintf(stderr, "got %.7f; want %.7f\n", got, want); \ assert(got == want); \ } \ } @@ -53,3 +53,11 @@ void test_cubic_foot_per_min(void); void test_as_cubic_metre_per_sec(void); void test_as_cubic_metre_per_min(void); void test_as_cubic_foot_per_min(void); + +void test_comp_outlet_pressure(void); +void test_pressure_ratio(void); +void test_pressure_ratio_intercooled(void); +void test_comp_outlet_temperature_adiabatic(void); +void test_comp_outlet_temperature(void); +void test_manifold_temperature(void); +void test_volume_flow_rate(void); -- cgit v1.2.3