subsurface/tests/testdivesiteduplication.cpp
Anton Lundin c2ea3c2616 Our tests are actually GUILESS
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-02-05 14:45:25 -08:00

11 lines
285 B
C++

#include "testdivesiteduplication.h"
#include "core/dive.h"
#include "core/divesite.h"
void TestDiveSiteDuplication::testReadV2()
{
QCOMPARE(parse_file(SUBSURFACE_SOURCE "/dives/TwoTimesTwo.ssrf"), 0);
QCOMPARE(dive_site_table.nr, 2);
}
QTEST_GUILESS_MAIN(TestDiveSiteDuplication)