summaryrefslogtreecommitdiffstats
path: root/dives/test41.csv
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-10 14:27:14 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-14 18:15:08 -0700
commitb47d8d5992da626f01620745d2a60d048734c4df (patch)
treedbb68e22932e920d2f90d6d1ea2543328a8b8be1 /dives/test41.csv
parentf4f791ffbdd281af48aae610bf88ef5fd6ae2ac9 (diff)
downloadsubsurface-b47d8d5992da626f01620745d2a60d048734c4df.tar.gz
Some simple test for file parsing
With no V2 question shown - parsing fails when a V2 file is loaded - parsing succeeds when a V3 file is loaded - import of CSV file succeeds With V2 question shown - parsing succeeds when a V2 file is loaded Finally compare the output of reading in the various files with reference output included in the sources. My guess is that this test might be a bit fragile, but hey, it's a start. (reminder: the tests only get built when using cmake) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/test41.csv')
-rw-r--r--dives/test41.csv6
1 files changed, 6 insertions, 0 deletions
diff --git a/dives/test41.csv b/dives/test41.csv
new file mode 100644
index 000000000..fb449ab71
--- /dev/null
+++ b/dives/test41.csv
@@ -0,0 +1,6 @@
+#Nr date time duration maxdepth avgdepth
+1 10/1/13 10:34 45:00 18 9
+2 10/1/13 12:13 41:00 16.2 8.2
+3 10/1/14 10:02 48:00 13.3 9.1
+4 10/1/14 14:19 34:00 24.9 12.1
+