subsurface/tests/testformatDiveGasString.h
Anton Lundin 8d3f2e4ca6 Add another test for formatDiveGasString
This adds a test for the bug just fixed, where we have a trimix gas and
nitrox/air with less o2 than the trimix.

Signed-off-by: Anton Lundin <glance@ac2.se>
2023-10-18 21:34:56 +13:00

22 lines
501 B
C++

// SPDX-License-Identifier: GPL-2.0
#include <QtTest>
class TestformatDiveGasString : public QObject {
Q_OBJECT
private slots:
void init();
void test_empty();
void test_air();
void test_nitrox();
void test_nitrox_not_use();
void test_nitrox_deco();
void test_reverse_nitrox_deco();
void test_trimix();
void test_trimix_deco();
void test_reverse_trimix_deco();
void test_trimix_and_nitrox_same_o2();
void test_trimix_and_nitrox_lower_o2();
void test_ccr();
void test_ccr_bailout();
};