HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Classes | Functions | Variables
testGuideStarHelper.cpp File Reference

Unit test for Guide stars helper class. More...

#include "telif/guideStarHelper.hpp"
#include <ciiLogManager.hpp>
#include <gtest/gtest.h>
#include <gtest/gtest_prod.h>
#include "mal/Cii.hpp"
#include "Ccsinsif.hpp"
#include "telif/logger.hpp"

Classes

class  TestGuideStarHelper
 
class  TestGuideStarHelper::MockedGuideStarData1
 

Functions

const std::string GSD_SYSTEM_1 ("system_test_1")
 
const std::string GSD_EPOCH_1 ("epoch_test_1")
 
const std::string GSD_BAND_1 ("band_test_1")
 
 TEST_F (TestGuideStarHelper, CreateYaml)
 

Variables

constexpr double GSD_RA_1 = 1.1
 
constexpr double GSD_DEC_1 = 1.2
 
constexpr double GSD_PROPER_MOTION_RA_1 = 1.3
 
constexpr double GSD_PROPER_MOTION_DEC_1 = 1.4
 
constexpr double GSD_PARALAX_1 = 1.5
 
constexpr double GSD_RADVEL_1 = 1.6
 
constexpr double GSD_RSHIFT_1 = 1.7
 
constexpr double GSD_MAGNITUDE_1 = 1.8
 

Detailed Description

Unit test for Guide stars helper class.

Author

Function Documentation

◆ GSD_BAND_1()

const std::string GSD_BAND_1 ( "band_test_1" )

◆ GSD_EPOCH_1()

const std::string GSD_EPOCH_1 ( "epoch_test_1" )

◆ GSD_SYSTEM_1()

const std::string GSD_SYSTEM_1 ( "system_test_1" )

◆ TEST_F()

TEST_F ( TestGuideStarHelper ,
CreateYaml  )

This will test completelly the functionality provided by the GuideStarHelper class.

  • First the generation of Yaml file with the Guide Starts data from the ::ccsinsif::GuideStarData object. In the telif application this yaml will be posted in the Oldb.
  • Lastly grab the generated Yaml file and convert it to a c++ object GuideStarHelper::GuideStars so it be easier to manipulate data.

Variable Documentation

◆ GSD_DEC_1

constexpr double GSD_DEC_1 = 1.2
constexpr

◆ GSD_MAGNITUDE_1

constexpr double GSD_MAGNITUDE_1 = 1.8
constexpr

◆ GSD_PARALAX_1

constexpr double GSD_PARALAX_1 = 1.5
constexpr

◆ GSD_PROPER_MOTION_DEC_1

constexpr double GSD_PROPER_MOTION_DEC_1 = 1.4
constexpr

◆ GSD_PROPER_MOTION_RA_1

constexpr double GSD_PROPER_MOTION_RA_1 = 1.3
constexpr

◆ GSD_RA_1

constexpr double GSD_RA_1 = 1.1
constexpr

◆ GSD_RADVEL_1

constexpr double GSD_RADVEL_1 = 1.6
constexpr

◆ GSD_RSHIFT_1

constexpr double GSD_RSHIFT_1 = 1.7
constexpr