diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-03-15 22:28:36 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-03-19 17:11:52 -0700 |
commit | 6f21d2749e67926128bf1e536382aad9890fc846 (patch) | |
tree | 45c6d6b265eb941fe26edd48c5e18ccf63d095d8 /tests/testplan.h | |
parent | ce420d7720213aa0f255f07ee04e243f4c1c1242 (diff) | |
download | subsurface-6f21d2749e67926128bf1e536382aad9890fc846.tar.gz |
Tests for minimum gas
Add automatic tests in TestPlan for minimum gas:
- Copy minimum gas result (pressure) to diveplan.
- Add cylinder size and working pressure for bottom gas to every dive in TestPlan
Hint: Unrealistic cylinder sizes (100l, 200l) have to be used for the very long and deep dives in TestPlan
- Add minimum gas check for every dive
- Add two additional test dives in TestPlan which produce sane minimum gas results with 24l tank
Hint: Deco check for these new dives is commented out at the moment
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'tests/testplan.h')
-rw-r--r-- | tests/testplan.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/testplan.h b/tests/testplan.h index 69bf0704f..8fc16cc4b 100644 --- a/tests/testplan.h +++ b/tests/testplan.h @@ -6,13 +6,15 @@ class TestPlan : public QObject { Q_OBJECT private slots: - void testImperial(); void testMetric(); + void testImperial(); + void testVpmbMetric45m30minTx(); + void testVpmbMetric60m10minTx(); void testVpmbMetric60m30minAir(); void testVpmbMetric60m30minEan50(); void testVpmbMetric60m30minTx(); - void testVpmbMetricMultiLevelAir(); void testVpmbMetric100m60min(); + void testVpmbMetricMultiLevelAir(); void testVpmbMetric100m10min(); void testVpmbMetricRepeat(); }; |