subsurface/tests
Michael Keller ec0c6833a0 Fix invalid bailout gas choice when planning a CCR dive.
Fixes a bug reported in
https://groups.google.com/g/subsurface-divelog/c/8N3cTz2Zv5E:
When planning a CCR dive with OC bailout, the diluent gas may be chosen
as the first OC bailout gas, despite being set up with a use type of
'diluent', and likely not being available for open circuit breathing.
`best_first_ascend_cylinder` is now initialised to an invalid value
(instead of the first cylinder, which may or may not be a diluent
 cylinder), and its subsequent use is guarded by a validity check.

Signed-off-by: Michael Keller <github@ike.ch>
2023-02-17 10:49:24 +01:00
..
.gitignore
CMakeLists.txt build-system: update cmake to allow Qt5 and Qt6 2022-03-12 08:28:32 -08:00
testAirPressure.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testAirPressure.h
testdivesiteduplication.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testdivesiteduplication.h
testgitstorage.cpp git access: add proper cleanup function for git_info 2022-04-22 08:28:17 -07:00
testgitstorage.h
testgpscoords.cpp
testgpscoords.h
testhelper.cpp
testhelper.h
testmerge.cpp tests: initialize our prefs to the default values 2021-07-23 11:30:17 -07:00
testmerge.h
testparse.cpp tests: initialize our prefs to the default values 2021-07-23 11:30:17 -07:00
testparse.h Test case for multicylinder support on CSV import 2020-05-26 11:33:10 -07:00
testparseperformance.cpp Qt6: add missing includes 2022-03-12 08:28:32 -08:00
testparseperformance.h
testpicture.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testpicture.h
testplan.cpp Fix invalid bailout gas choice when planning a CCR dive. 2023-02-17 10:49:24 +01:00
testplan.h Fix invalid bailout gas choice when planning a CCR dive. 2023-02-17 10:49:24 +01:00
testplannershared.cpp
testplannershared.h
testprofile.cpp Qt6: add missing includes 2022-03-12 08:28:32 -08:00
testprofile.h cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testqml.cpp
testqml.h
testqPrefCloudStorage.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testqPrefCloudStorage.h
testqPrefDisplay.cpp desktop: remove user survey 2020-04-19 14:27:54 -07:00
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 preferences: remove pointless member 2021-01-06 10:18:23 -08:00
testqPrefUpdateManager.h
testrenumber.cpp cloudstorage: adapt tests 2021-04-19 12:51:01 -07:00
testrenumber.h
testtaglist.cpp
testtaglist.h
testunitconversion.cpp core: move floating point functions to own header file 2022-08-30 22:34:38 +02:00
testunitconversion.h
tst_qPrefCloudStorage.qml cloudstorage: some cleanup of cloud url handling 2021-04-19 12:51:01 -07:00
tst_qPrefDisplay.qml desktop: remove user survey 2020-04-19 14:27:54 -07:00
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