diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-02-28 18:41:07 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-02-28 18:41:07 -0500 |
| commit | a7c99e7bed015db546969d5f9a87fc6ffd1f2ea8 (patch) | |
| tree | 82b11719cd67149d46e78e243d5b04634ae560d5 /test_volume_flow_rate.c | |
| parent | 5af0508c969105060871a8be0c9885c8c331fa98 (diff) | |
| download | volute-a7c99e7bed015db546969d5f9a87fc6ffd1f2ea8.zip | |
volume flow rate conversion functions
Diffstat (limited to 'test_volume_flow_rate.c')
| -rw-r--r-- | test_volume_flow_rate.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test_volume_flow_rate.c b/test_volume_flow_rate.c index 148d58f..4c4d3c7 100644 --- a/test_volume_flow_rate.c +++ b/test_volume_flow_rate.c @@ -1,32 +1,35 @@ +#include <assert.h> +#include <stdio.h> + #include "test.h" #include "unit.h" void test_cubic_metre_per_sec(void) { - assert(0); + test(cubic_metre_per_sec(123.456), 123.456); } void test_cubic_metre_per_min(void) { - assert(0); + test(cubic_metre_per_min(123.456), 2.0576); } void test_cubic_foot_per_min(void) { - assert(0); + test(cubic_foot_per_min(123.456), 0.0582647436); } void test_as_cubic_metre_per_sec(void) { - assert(0); + test(as_cubic_metre_per_sec(cubic_metre_per_sec(123.456)), 123.456); } void test_as_cubic_metre_per_min(void) { - assert(0); + test(as_cubic_metre_per_min(cubic_metre_per_min(123.456)), 123.456); } void test_as_cubic_foot_per_min(void) { - assert(0); + test(as_cubic_foot_per_min(cubic_foot_per_min(123.456)), 123.456); } |