subsurface/tests/testprofile.cpp
Berthold Stoeger c22fd9f4fd Dive sites: prepare for dive site ref-counting
Add a dive site table to each dive site to keep track of dives
that have been added to a dive site. Add two functions to add
dives to / remove dives from dive sites.

Since dive sites now contain a dive table, the order of includes
had to be changed: "divesite.h" now includes "dive.h" and not
vice-versa. This caused some include churn.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-04-12 18:19:07 +03:00

11 lines
262 B
C++

// SPDX-License-Identifier: GPL-2.0
#include "testprofile.h"
#include "core/divesite.h"
#include "core/file.h"
void TestProfile::testRedCeiling()
{
parse_file("../dives/deep.xml", &dive_table, &trip_table, &dive_site_table);
}
QTEST_GUILESS_MAIN(TestProfile)