mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
c22fd9f4fd
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>
11 lines
262 B
C++
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)
|