57 lines
682 B
C++
Executable File
57 lines
682 B
C++
Executable File
|
|
|
|
|
|
#pragma once
|
|
|
|
#include <LtsElevation/lts_elevation_manager.h>
|
|
|
|
#include <ElevationMap/elevation_map_manager.h>
|
|
|
|
#include <QCoreApplication>
|
|
#include <QtTest/QTest>
|
|
#include <NGLLogger/INGLLogger.h>
|
|
|
|
|
|
using LOGGER_T = NGL::INGLLogger&;
|
|
|
|
|
|
|
|
|
|
class UnitTestElevation : public QObject
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
UnitTestElevation();
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void initTestCase();
|
|
|
|
void init();
|
|
|
|
|
|
|
|
|
|
void test_elevation_data();
|
|
void test_elevation();
|
|
|
|
void test_elevation_isCovered();
|
|
void test_elevation_defaultValue();
|
|
|
|
void test_lineOfSightCalculation_data();
|
|
void test_lineOfSightCalculation();
|
|
|
|
|
|
|
|
|
|
private:
|
|
LOGGER_T m_logger;
|
|
};
|