summaryrefslogtreecommitdiffstats
path: root/dives/test14.xml
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-09 07:41:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-11-09 07:53:10 -0800
commite38eb77e30c2d0d06eb61db0cd1bdf3f5e164e8d (patch)
tree498bd104465ed888b48ccac2bbaadbb69920cda8 /dives/test14.xml
parent4b735521e2561fe6d03f9f94122fbdc58f48e4a5 (diff)
downloadsubsurface-e38eb77e30c2d0d06eb61db0cd1bdf3f5e164e8d.tar.gz
Correctly plot dives ending below the surface
I thought we had fixed this before - but I guess it got broken again somewhere. We now make sure that the plot_info ends on an entry with depth 0. Added test14 to verify the fix. Also fixed cut'n'paste errors in a few test dive files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test14.xml')
-rw-r--r--dives/test14.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/dives/test14.xml b/dives/test14.xml
new file mode 100644
index 000000000..a6a1fae96
--- /dev/null
+++ b/dives/test14.xml
@@ -0,0 +1,39 @@
+<dives>
+<program name='subsurface' version='1'></program>
+<dive number='14' date='2011-01-01' time='22:00:00' duration='30:00 min'>
+ <depth max='30.0 m' mean='15.0 m' />
+ <temperature air='27.0 C' water='26.0 C' />
+ <location>14th test dive - no depth 0 samples</location>
+ <notes>This should show 1m depth at the 30min mark and then a tick up to the surface 20sec later</notes>
+ <sample time='1:00 min' temp='27.0 C' depth='5 m' />
+ <sample time='2:00 min' temp='26.0 C' depth='10 m' />
+ <sample time='3:00 min' temp='25.0 C' depth='15 m' />
+ <sample time='4:00 min' temp='24.0 C' depth='20 m' />
+ <sample time='5:00 min' temp='24.0 C' depth='25 m' />
+ <sample time='6:00 min' temp='23.0 C' depth='30 m' />
+ <sample time='7:00 min' depth='30 m' />
+ <sample time='8:00 min' depth='30 m' />
+ <sample time='9:00 min' depth='30 m' />
+ <sample time='10:00 min' depth='30 m' />
+ <sample time='11:00 min' depth='30 m' />
+ <sample time='12:00 min' depth='30 m' />
+ <sample time='13:00 min' depth='30 m' />
+ <sample time='14:00 min' temp='26.0 C' depth='10 m' />
+ <sample time='15:00 min' depth='15 m' />
+ <sample time='16:00 min' depth='5 m' />
+ <sample time='17:00 min' depth='10 m' />
+ <sample time='18:00 min' depth='10 m' />
+ <sample time='19:00 min' depth='10 m' />
+ <sample time='20:00 min' depth='10 m' />
+ <sample time='21:00 min' depth='10 m' />
+ <sample time='22:00 min' depth='5 m' />
+ <sample time='23:00 min' depth='5 m' />
+ <sample time='24:00 min' depth='5 m' />
+ <sample time='25:00 min' depth='5 m' />
+ <sample time='26:00 min' depth='5 m' />
+ <sample time='27:00 min' depth='5 m' />
+ <sample time='28:00 min' temp='26.0 C' depth='5 m' />
+ <sample time='29:00 min' temp='26.5 C' depth='2.5 m' />
+ <sample time='30:00 min' temp='26.0 C' depth='1 m' />
+</dive>
+</dives>