mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-27 20:58:47 +00:00
8d3f2e4ca6
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>
22 lines
501 B
C++
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();
|
|
};
|