mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
6f21d2749e
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>
22 lines
490 B
C++
22 lines
490 B
C++
#ifndef TESTPLAN_H
|
|
#define TESTPLAN_H
|
|
|
|
#include <QTest>
|
|
|
|
class TestPlan : public QObject {
|
|
Q_OBJECT
|
|
private slots:
|
|
void testMetric();
|
|
void testImperial();
|
|
void testVpmbMetric45m30minTx();
|
|
void testVpmbMetric60m10minTx();
|
|
void testVpmbMetric60m30minAir();
|
|
void testVpmbMetric60m30minEan50();
|
|
void testVpmbMetric60m30minTx();
|
|
void testVpmbMetric100m60min();
|
|
void testVpmbMetricMultiLevelAir();
|
|
void testVpmbMetric100m10min();
|
|
void testVpmbMetricRepeat();
|
|
};
|
|
|
|
#endif // TESTPLAN_H
|