7 #ifndef __DATA_STREAM_CHECK_VALUE_H__
8 #define __DATA_STREAM_CHECK_VALUE_H__
18 bool checkValue(
const std::string & testName,
const T & givenSize,
const T & referenceSize);
21 bool checkValue(
const std::string & testName,
const T * tabData,
const T * tabReferenceData,
size_t nbElement);
24 bool checkValue(
const std::string & testName,
const std::vector<T> & vecData,
const std::vector<T> & vecReferenceData);
27 bool checkValue(
const std::string & testName,
const std::list<T> & vecData,
const std::list<T> & vecReferenceData);
29 template<
typename T,
typename U>
30 bool checkValue(
const std::string & testName,
const std::map<T, U> & vecData,
const std::map<T, U> & vecReferenceData);
32 template<
typename T,
typename U>
33 bool checkValue(
const std::string & testName,
const std::vector<std::pair<T, U> > & vecData,
const std::vector<std::pair<T, U> > & vecReferenceData);
35 template<
typename T,
typename U>
36 bool checkValue(
const std::string & testName,
const std::list<std::pair<T, U> > & vecData,
const std::list<std::pair<T, U> > & vecReferenceData);
bool checkValue(const std::string &testName, const T &givenSize, const T &referenceSize)
Check given value compare to the reference value.