subsurface/tests/testdivesiteduplication.cpp
Dirk Hohndel 1b37e0f1a4 Add test for dive site duplication bug
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-08-30 10:32:38 -07:00

11 lines
267 B
C++

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