![]() |
Project
|
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <fstream>
#include <iostream>
#include <rapidjson/filereadstream.h>
#include <rapidjson/document.h>
#include "MIDBase/GeometryTransformer.h"
Go to the source code of this file.
Classes | |
class | InputDocument< StreamType > |
Macros | |
#define | BOOST_TEST_MODULE Test MID geometry transformer |
#define | BOOST_TEST_DYN_LINK |
Typedefs | |
using | InputWrapper = InputDocument< rapidjson::FileReadStream > |
Functions | |
bool | areEqual (double a, double b) |
bool | areEqual (std::array< double, 3 > &p1, std::array< double, 3 > &p2) |
int | testOnePosition (const o2::mid::GeometryTransformer &geoTrans, rapidjson::Value &tp) |
std::string | getTestPosFilename () |
bool | fileExists (const char *filename) |
BOOST_AUTO_TEST_CASE (TestPositions) | |
#define BOOST_TEST_DYN_LINK |
Definition at line 16 of file Positions.cxx.
#define BOOST_TEST_MODULE Test MID geometry transformer |
Definition at line 15 of file Positions.cxx.
using InputWrapper = InputDocument<rapidjson::FileReadStream> |
Definition at line 58 of file Positions.cxx.
bool areEqual | ( | double | a, |
double | b | ||
) |
Definition at line 63 of file Positions.cxx.
bool areEqual | ( | std::array< double, 3 > & | p1, |
std::array< double, 3 > & | p2 | ||
) |
Definition at line 68 of file Positions.cxx.
BOOST_AUTO_TEST_CASE | ( | TestPositions | ) |
Definition at line 116 of file Positions.cxx.
bool fileExists | ( | const char * | filename | ) |
Definition at line 110 of file Positions.cxx.
std::string getTestPosFilename | ( | ) |
Definition at line 93 of file Positions.cxx.
int testOnePosition | ( | const o2::mid::GeometryTransformer & | geoTrans, |
rapidjson::Value & | tp | ||
) |
Definition at line 78 of file Positions.cxx.