mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
f3e1187e65
Move the declaration of these functions to "file.h" and "parse.h" according to the translation unit they are defined in. Thus, not all users of "dive.h" have to suck in "sqlite3.h". Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
13 lines
391 B
C++
13 lines
391 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#include "testdivesiteduplication.h"
|
|
#include "core/dive.h"
|
|
#include "core/divesite.h"
|
|
#include "core/file.h"
|
|
|
|
void TestDiveSiteDuplication::testReadV2()
|
|
{
|
|
QCOMPARE(parse_file(SUBSURFACE_TEST_DATA "/dives/TwoTimesTwo.ssrf", &dive_table, &trip_table, &dive_site_table), 0);
|
|
QCOMPARE(dive_site_table.nr, 2);
|
|
}
|
|
|
|
QTEST_GUILESS_MAIN(TestDiveSiteDuplication)
|