DP3
Classes | Functions | Variables
test_source_db Namespace Reference

Helper function to be used with FixtureSkyModel. More...

Classes

struct  Patch
 

Functions

void CheckEqual (const dp3::sky_model::Patch &lhs, const Patch &rhs)
 

Variables

const std::array< Patch, 3 > Expected
 

Detailed Description

Helper function to be used with FixtureSkyModel.

Function Documentation

◆ CheckEqual()

void test_source_db::CheckEqual ( const dp3::sky_model::Patch lhs,
const Patch rhs 
)

Helper to validate patch.

Uses the BOOST_CHECK_x macros to validate whether the arguments are considered equal.

Variable Documentation

◆ Expected

const std::array<Patch, 3> test_source_db::Expected
extern

Contains a set of expected patches.

This matched the result of using the default value of FixtureSkyModel::Arguments::sky_model_contents.