summaryrefslogtreecommitdiffstats
path: root/dives
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-24 13:19:16 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-24 13:19:16 -0800
commit1bcc8dd9917c494077c56e6bfbaa36c2c045c2c2 (patch)
treeaf8b1bee1fe8119ba9f93e4abe3c22431b813267 /dives
parent60d1c09a14549d557d1c99b2e549b625332ca5ff (diff)
downloadsubsurface-1bcc8dd9917c494077c56e6bfbaa36c2c045c2c2.tar.gz
Add test dive for constant temperature
Making sure that this doesn't cause divisions by zero and that the scaling and positioning doesn't get messed up by it (right now it doesn't look great). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives')
-rw-r--r--dives/test27.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/dives/test27.xml b/dives/test27.xml
new file mode 100644
index 000000000..036d99b88
--- /dev/null
+++ b/dives/test27.xml
@@ -0,0 +1,18 @@
+<dives>
+<program name='subsurface' version='1'></program>
+<dive number='28' date='2011-12-12' time='6:35:00' duration='30:00 min'>
+ <temperature air='30.0 C' water='20.0 C' />
+ <surface pressure='0.981 bar' />
+ <water salinity='1000 g/l' />
+ <location>different dive location</location>
+ <notes>Constant temperature in the samples - should still be shown</notes>
+ <divecomputer model='Model Product' deviceid='e04d0248' diveid='00000002'>
+ <sample time='0:06 min' depth='1.86 m' temp='20.0 C' ndl='99:00 min' />
+ <sample time='1:00 min' depth='20 m' />
+ <sample time='27:00 min' depth='20 m' />
+ <sample time='28:00 min' depth='3 m' />
+ <sample time='29:00 min' depth='3 m' />
+ <sample time='30:00 min' depth='0.3 m' />
+ </divecomputer>
+</dive>
+</dives>