subsurface/tests
Robert C. Helling 7dc92e170f Round MOD to lower depths
When computing the suggested switch depth for a gas,
we should take the next stop depth above the MOD, i.e.
round down. Otherwise we can produce MOD violation warnings.

We need, however, a bit of fudge as otherwise we do not
suggest to switch to o2 at 6m.

TestPlan uses the MOD to determine the depth to switch to
Tx21/35. This happens to be 65.378m. Therefore, switching
at 66m violates the MOD, the switch should be at 63m.
This then affects the gas usage.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
2024-11-19 08:46:13 +13:00
..
.gitignore
CMakeLists.txt
testAirPressure.cpp units: replace SURFACE_PRESSURE by 1_atm 2024-09-11 10:23:07 +02:00
testAirPressure.h
testdivesiteduplication.cpp
testdivesiteduplication.h
testformatDiveGasString.cpp core: introduce a few user-defined literals for unit types 2024-09-11 10:23:07 +02:00
testformatDiveGasString.h
testgitstorage.cpp
testgitstorage.h
testgpscoords.cpp
testgpscoords.h
testhelper.cpp
testhelper.h
testmerge.cpp
testmerge.h
testparse.cpp
testparse.h
testparseperformance.cpp
testparseperformance.h
testpicture.cpp
testpicture.h
testplan.cpp Round MOD to lower depths 2024-11-19 08:46:13 +13:00
testplan.h
testplannershared.cpp
testplannershared.h
testprofile.cpp
testprofile.h
testqml.cpp
testqml.h
testqPrefCloudStorage.cpp
testqPrefCloudStorage.h
testqPrefDisplay.cpp
testqPrefDisplay.h
testqPrefDiveComputer.cpp
testqPrefDiveComputer.h
testqPrefDivePlanner.cpp
testqPrefDivePlanner.h
testqPrefEquipment.cpp
testqPrefEquipment.h
testqPrefGeneral.cpp
testqPrefGeneral.h
testqPrefGeocoding.cpp
testqPrefGeocoding.h
testqPrefLanguage.cpp
testqPrefLanguage.h
testqPrefLog.cpp
testqPrefLog.h
testqPrefMedia.cpp
testqPrefMedia.h
testqPrefPartialPressureGas.cpp
testqPrefPartialPressureGas.h
testqPrefProxy.cpp
testqPrefProxy.h
testqPrefTechnicalDetails.cpp
testqPrefTechnicalDetails.h
testqPrefUnits.cpp
testqPrefUnits.h
testqPrefUpdateManager.cpp
testqPrefUpdateManager.h
testrenumber.cpp
testrenumber.h
testtaglist.cpp
testtaglist.h
testunitconversion.cpp core: introduce a few user-defined literals for unit types 2024-09-11 10:23:07 +02:00
testunitconversion.h
tst_qPrefCloudStorage.qml
tst_qPrefDisplay.qml
tst_qPrefDiveComputer.qml
tst_qPrefDivePlanner.qml
tst_qPrefGeneral.qml
tst_qPrefGeocoding.qml
tst_qPrefLanguage.qml
tst_qPrefPartialPressureGas.qml
tst_qPrefProxy.qml
tst_qPrefTechnicalDetails.qml
tst_qPrefUnits.qml
tst_qPrefUpdateManager.qml