subsurface/tests/testdivesiteduplication.cpp
Dirk Hohndel ee1bf18189 Add SPDX header to tests
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2017-04-29 13:32:55 -07:00

12 lines
324 B
C++

// SPDX-License-Identifier: GPL-2.0
#include "testdivesiteduplication.h"
#include "core/dive.h"
#include "core/divesite.h"
void TestDiveSiteDuplication::testReadV2()
{
QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/TwoTimesTwo.ssrf"), 0);
QCOMPARE(dive_site_table.nr, 2);
}
QTEST_GUILESS_MAIN(TestDiveSiteDuplication)