Code for checking xvg files in testutils.
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Mon, 27 Jul 2015 09:01:40 +0000 (11:01 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Wed, 29 Jul 2015 19:31:53 +0000 (21:31 +0200)
commitdaf67f84ef938f01eb9b08133b32337200b25511
tree3da6857cca26286a96aca4674f3aaec7c0497591
parent96da5ad95b303ed9b1b1e7df0ad4fbdf2c160ee2
Code for checking xvg files in testutils.

Some new code to check xvg files is introduced in the testutils.
For now it only checks the contents as doubles in case they are
lines with a number of columns of numbers. The tolerance for checking
should be specified by the caller. A test case is provided.

TODO
Add checks for legends.

Change-Id: I00e3c2768c520c8bc90cf7195870a23a1ad83b76
src/gromacs/utility/stringstream.cpp
src/gromacs/utility/stringstream.h
src/testutils/CMakeLists.txt
src/testutils/cmdlinetest.cpp
src/testutils/cmdlinetest.h
src/testutils/tests/CMakeLists.txt
src/testutils/tests/xvgtest_tests.cpp [new file with mode: 0644]
src/testutils/xvgtest.cpp [new file with mode: 0644]
src/testutils/xvgtest.h [new file with mode: 0644]