subsurface/dives
Linus Torvalds b62e63650a Fix SAC calculations for dives without any samples
We computed a made-up average depth based on the maximum depth, and used
that.  That's questionable even if we didn't have any explicit average
depth to begin with, but it's particularly wrong if we did have an
explicit average depth to use.

Now, admittedly we have no way to actually create fake dives like this
with a particular average depth, so this really doesn't make any
difference in real life.  But we should do this right.

Also, make the XML be in the format that subsurface actually saves
things in (mainly things like cylinder sizes having an extra decimal
place, but also ordering of XML elements).

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-24 11:25:44 -08:00
..
sac-test.xml Fix SAC calculations for dives without any samples 2013-02-24 11:25:44 -08:00
test0.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test1.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test2.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test3.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test4.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test5.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test6.xml Replace Linus' dives with useful test dives that help test the app 2011-11-04 10:47:38 -07:00
test7.xml Update test dives 2011-11-04 14:54:22 -07:00
test8.xml Fix missing pressure plot at start of the dive in some situations 2011-11-04 15:38:46 -07:00
test9.xml Correctly plot dives ending below the surface 2011-11-09 07:53:10 -08:00
test10.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test11.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test12.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test13.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test14.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test15.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test16.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test17.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test18.xml Add GPS locations to some of the test dives 2013-01-13 10:23:38 -08:00
test19.xml Add three more trimix test dives 2011-12-12 10:12:29 -08:00
test20.xml Add three more trimix test dives 2011-12-12 10:12:29 -08:00
test21.xml Correct the trip related test dives 2012-09-03 10:31:25 -07:00
test22.xml Correct the trip related test dives 2012-09-03 10:31:25 -07:00
test23.xml Correct the trip related test dives 2012-09-03 10:31:25 -07:00
test24.xml Correctly deal with empty XML files 2012-09-17 21:03:30 -04:00
test25.xml Add two test dives that triggered the bug fixed in the previous commit 2012-12-06 13:06:16 -08:00
test26.xml Add two test dives that triggered the bug fixed in the previous commit 2012-12-06 13:06:16 -08:00
test27.xml Add test dive for constant temperature 2013-01-24 13:19:16 -08:00