diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:03:54 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:03:54 -0500 |
| commit | 5e379b1cf70006dbe782df991a655c475630a146 (patch) | |
| tree | 07cd057ecd6eb18a7b4b7182f9104f82515fe40d /test.h | |
| parent | 2d0f7661dd4bb3927c93a6f9cbcf4fd93d2daf23 (diff) | |
| download | volute-5e379b1cf70006dbe782df991a655c475630a146.zip | |
engine tests
Diffstat (limited to 'test.h')
| -rw-r--r-- | test.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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); |