diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:18:34 -0500 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2025-03-02 12:18:34 -0500 |
| commit | cd73fd40ffc04a65abe0260fe82949d7c354e282 (patch) | |
| tree | 5162949c3f3e65508072eacb52f3b1c562958607 /test_pressure.c | |
| parent | 5e379b1cf70006dbe782df991a655c475630a146 (diff) | |
| download | volute-cd73fd40ffc04a65abe0260fe82949d7c354e282.zip | |
add inHG pressure unit
Diffstat (limited to 'test_pressure.c')
| -rw-r--r-- | test_pressure.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test_pressure.c b/test_pressure.c index f04a1bc..e805858 100644 --- a/test_pressure.c +++ b/test_pressure.c @@ -30,6 +30,11 @@ test_psi(void) { } void +test_inch_mercury(void) { + test(inch_mercury(123.456), 418070.040384); +} + +void test_as_pascal(void) { test(as_pascal(pascal(123.456)), 123.456); } @@ -53,3 +58,8 @@ void test_as_psi(void) { test(as_psi(psi(123.456)), 123.456); } + +void +test_as_inch_mercury(void) { + test(as_inch_mercury(inch_mercury(123.456)), 123.456); +} |