aboutsummaryrefslogtreecommitdiffstats
path: root/test.h
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2025-03-02 12:03:54 -0500
committerSam Anthony <sam@samanthony.xyz>2025-03-02 12:03:54 -0500
commit5e379b1cf70006dbe782df991a655c475630a146 (patch)
tree07cd057ecd6eb18a7b4b7182f9104f82515fe40d /test.h
parent2d0f7661dd4bb3927c93a6f9cbcf4fd93d2daf23 (diff)
downloadvolute-5e379b1cf70006dbe782df991a655c475630a146.zip
engine tests
Diffstat (limited to 'test.h')
-rw-r--r--test.h10
1 files changed, 9 insertions, 1 deletions
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);