subsurface/tests
Dirk Hohndel b47d8d5992 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>
2015-03-14 18:15:08 -07:00
..
testgpscoords.cpp Add support for more GPS coordinate formats. 2015-02-23 05:37:34 -08:00
testgpscoords.h Add support for more GPS coordinate formats. 2015-02-23 05:37:34 -08:00
testparse.cpp Some simple test for file parsing 2015-03-14 18:15:08 -07:00
testparse.h Some simple test for file parsing 2015-03-14 18:15:08 -07:00
testprofile.cpp Moved code around to make possible to compile the C part alone. 2014-04-17 08:46:29 -07:00
testprofile.h Moved code around to make possible to compile the C part alone. 2014-04-17 08:46:29 -07:00
testunitconversion.cpp Moved code around to make possible to compile the C part alone. 2014-04-17 08:46:29 -07:00
testunitconversion.h First test case implemented. 2014-04-14 11:49:49 -07:00