mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
3fef6ec31d
We do some merging in a couple of the other tests as well, but the idea is to have specific test cases that exercise our merge logic. This one starts simple. Merge a dive with some valid info with a second one that has less data filled. And then try it in both possible orders. It shows a few potential problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
14 lines
204 B
C++
14 lines
204 B
C++
#ifndef TESTMERGE_H
|
|
#define TESTMERGE_H
|
|
|
|
#include <QtTest>
|
|
|
|
class TestMerge : public QObject{
|
|
Q_OBJECT
|
|
private slots:
|
|
void initTestCase();
|
|
void testMergeEmpty();
|
|
void testMergeBackwards();
|
|
};
|
|
|
|
#endif
|