hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Classes | Macros | Functions
testControlEstimation.cpp File Reference
#include "trksim/activityDoControl.hpp"
#include <ciiLogManager.hpp>
#include <ecos/taiClock.hpp>
#include <ecos/ptk/angles.hpp>
#include <gtest/gtest.h>
#include <gtest/gtest_prod.h>
#include <mal/utility/LoadMal.hpp>
#include <date/tz.h>
#include "mal/Cii.hpp"
#include "trksim/dataContext.hpp"
#include "trksim/oldbInterface.hpp"
#include "trksim/config.hpp"
#include "trksim/activityDoEstimation.hpp"
#include "trksim/logger.hpp"

Classes

class  OldbAdapterDummy
 
class  OldbInterfaceDummy
 
class  ControlEstimationTest
 

Macros

#define EXPECT_RADIANS_EQ(a, b)    EXPECT_DOUBLE_EQ(Radians((a)).Get(), Radians((b)).Get())
 Test that two angles in radians are almost equal.
 
#define EXPECT_RADIANS_NEAR(a, b, eps)    EXPECT_NEAR(Radians((a)).Get(), Radians((b)).Get(), (eps))
 Test that two angles in radians are within a given distance to each other.
 

Functions

Radians DeltaRaScaled (Radians delta_ra, Radians dec, Radians delta_dec)
 
 TEST_F (ControlEstimationTest, testPresetTrackingOffset)
 
 TEST_F (ControlEstimationTest, testMove)
 
 TEST_F (ControlEstimationTest, testPresetAvoidAzLimit)
 

Macro Definition Documentation

◆ EXPECT_RADIANS_EQ

#define EXPECT_RADIANS_EQ (   a,
 
)     EXPECT_DOUBLE_EQ(Radians((a)).Get(), Radians((b)).Get())

Test that two angles in radians are almost equal.

◆ EXPECT_RADIANS_NEAR

#define EXPECT_RADIANS_NEAR (   a,
  b,
  eps 
)     EXPECT_NEAR(Radians((a)).Get(), Radians((b)).Get(), (eps))

Test that two angles in radians are within a given distance to each other.

Function Documentation

◆ DeltaRaScaled()

Radians DeltaRaScaled ( Radians  delta_ra,
Radians  dec,
Radians  delta_dec 
)

Independent impl of [I-INS/CCS-497] scaling formula

◆ TEST_F() [1/3]

TEST_F ( ControlEstimationTest  ,
testMove   
)

◆ TEST_F() [2/3]

TEST_F ( ControlEstimationTest  ,
testPresetAvoidAzLimit   
)

◆ TEST_F() [3/3]

TEST_F ( ControlEstimationTest  ,
testPresetTrackingOffset   
)