mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Silence compiler warnings
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
fdd5ee507c
commit
c32f5cc278
3 changed files with 5 additions and 5 deletions
|
@ -17,8 +17,8 @@ void TestUnitConversion::testUnitConversions()
|
|||
QCOMPARE(IS_FP_SAME(psi_to_bar(14.6959488), 1.01325), true);
|
||||
QCOMPARE(psi_to_mbar(14.6959488), (long)1013);
|
||||
QCOMPARE(to_PSI((pressure_t){ 1013 }), (int)15);
|
||||
QCOMPARE(IS_FP_SAME(bar_to_atm(1.013), 1), true);
|
||||
QCOMPARE(IS_FP_SAME(mbar_to_atm(1013), 1), true);
|
||||
QCOMPARE(IS_FP_SAME(bar_to_atm(1.013), 1.0), true);
|
||||
QCOMPARE(IS_FP_SAME(mbar_to_atm(1013), 1.0), true);
|
||||
QCOMPARE(mbar_to_PSI(1013), (int)15);
|
||||
get_units();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue