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 /core/dive.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 'core/dive.h')
-rw-r--r-- | core/dive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h index b8096d50c..bc029dbcd 100644 --- a/core/dive.h +++ b/core/dive.h @@ -847,6 +847,7 @@ struct divedatapoint { int time; depth_t depth; int cylinderid; + pressure_t minimum_gas; int setpoint; bool entered; struct divedatapoint *next; |