mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Moved code around to make possible to compile the C part alone.
The C code should be compilable without the need to compile the Gui part, too. This is expecially good for unit testing as we can test all the algorithms without a window appearing out of nowhere. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9598462830
commit
55d010bad8
6 changed files with 169 additions and 144 deletions
9
tests/testprofile.cpp
Normal file
9
tests/testprofile.cpp
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include "testprofile.h"
|
||||
#include "dive.h"
|
||||
|
||||
void TestProfile::testRedCeiling()
|
||||
{
|
||||
parse_file("../dives/deep.xml");
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestProfile)
|
||||
Loading…
Add table
Add a link
Reference in a new issue