#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <complex>
#include <iostream>
#include <random>
#include <string>
#include <typeinfo>
#include <vector>
#include <memory>
#include <stdio.h>
#include <highfive/H5DataSet.hpp>
#include <highfive/H5DataSpace.hpp>
#include <highfive/H5File.hpp>
#include <highfive/H5Group.hpp>
#include <highfive/H5Utility.hpp>
#include <boost/mpl/list.hpp>
#include <boost/test/unit_test.hpp>
Go to the source code of this file.
Classes | |
struct | ContentGenerate< T > |
struct | ContentGenerate< char > |
struct | ContentGenerate< std::string > |
Macros | |
#define | BOOST_TEST_MAIN HighFiveTest |
Typedefs | |
using | complex = std::complex< double > |
typedef boost::mpl::list< int, unsigned int, long, unsigned long, unsigned char, char, float, double, std::string > | dataset_test_types |
typedef boost::mpl::list< float, double > | floating_numerics_test_types |
typedef boost::mpl::list< int, unsigned int, long, unsigned long, unsigned char, char, float, double, long long, unsigned long long, complex > | numerical_test_types |
Functions | |
template<typename T > | |
void | attribute_scalar_rw () |
BOOST_AUTO_TEST_CASE (HighFiveBasic) | |
BOOST_AUTO_TEST_CASE (HighFiveSilence) | |
BOOST_AUTO_TEST_CASE (HighFiveOpenMode) | |
BOOST_AUTO_TEST_CASE (HighFiveGroupAndDataSet) | |
BOOST_AUTO_TEST_CASE (HighFiveExtensibleDataSet) | |
BOOST_AUTO_TEST_CASE (HighFiveRefCountMove) | |
BOOST_AUTO_TEST_CASE (HighFiveSimpleListing) | |
BOOST_AUTO_TEST_CASE (DataTypeEqualSimple) | |
BOOST_AUTO_TEST_CASE (DataTypeEqualTakeBack) | |
BOOST_AUTO_TEST_CASE (DataSpaceTest) | |
BOOST_AUTO_TEST_CASE (DataSpaceVectorTest) | |
BOOST_AUTO_TEST_CASE (DataSpaceVariadicTest) | |
BOOST_AUTO_TEST_CASE (ChunkingConstructorsTest) | |
BOOST_AUTO_TEST_CASE (HighFiveReadWriteShortcut) | |
BOOST_AUTO_TEST_CASE (datasetOffset) | |
BOOST_AUTO_TEST_CASE (HighFiveOutofDimension) | |
BOOST_AUTO_TEST_CASE (ReadInBroadcastDims) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWrite2DArray, T, numerical_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (readWriteVector, T, numerical_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (readWriteArray, T, numerical_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWriteAttributeVector, T, dataset_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (readWriteVector2D, T, numerical_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (selectionArraySimple, T, dataset_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (columnSelection, T, numerical_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (attribute_scalar_rw_all, T, dataset_test_types) | |
BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWriteShuffleDeflate, T, numerical_test_types) | |
template<typename T > | |
void | columnSelectionTest () |
template<typename T , typename Func > | |
void | generate2D (T *table, size_t x, size_t y, Func &func) |
template<typename T , typename Func > | |
void | generate2D (std::vector< std::vector< T >> &vec, size_t x, size_t y, Func &func) |
template<typename T > | |
void | readWrite2DArrayTest () |
template<typename T > | |
void | readWriteArrayTest () |
template<typename T > | |
void | readWriteAttributeVectorTest () |
template<typename T > | |
void | readWriteShuffleDeflateTest () |
template<typename T > | |
void | readWriteVector2DTest () |
template<typename T > | |
void | readWriteVectorTest () |
template<typename T > | |
void | selectionArraySimpleTest () |
#define BOOST_TEST_MAIN HighFiveTest |
Definition at line 29 of file tests_high_five_base.cpp.
using complex = std::complex<double> |
Definition at line 39 of file tests_high_five_base.cpp.
typedef boost::mpl::list<int, unsigned int, long, unsigned long, unsigned char, char, float, double, std::string> dataset_test_types |
Definition at line 48 of file tests_high_five_base.cpp.
typedef boost::mpl::list<float, double> floating_numerics_test_types |
Definition at line 41 of file tests_high_five_base.cpp.
typedef boost::mpl::list<int, unsigned int, long, unsigned long, unsigned char, char, float, double, long long, unsigned long long, complex> numerical_test_types |
Definition at line 45 of file tests_high_five_base.cpp.
void attribute_scalar_rw | ( | ) |
Definition at line 1200 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveBasic | ) |
Definition at line 122 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveSilence | ) |
Definition at line 164 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveOpenMode | ) |
Definition at line 185 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveGroupAndDataSet | ) |
Definition at line 231 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveExtensibleDataSet | ) |
Definition at line 325 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveRefCountMove | ) |
Definition at line 385 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveSimpleListing | ) |
Definition at line 452 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | DataTypeEqualSimple | ) |
Definition at line 518 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | DataTypeEqualTakeBack | ) |
Definition at line 539 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | DataSpaceTest | ) |
Definition at line 564 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | DataSpaceVectorTest | ) |
Definition at line 591 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | DataSpaceVariadicTest | ) |
Definition at line 619 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | ChunkingConstructorsTest | ) |
Definition at line 660 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveReadWriteShortcut | ) |
Definition at line 727 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | datasetOffset | ) |
Definition at line 979 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | HighFiveOutofDimension | ) |
Definition at line 1243 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE | ( | ReadInBroadcastDims | ) |
Definition at line 1334 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | ReadWrite2DArray | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 723 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | readWriteVector | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 808 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | readWriteArray | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 843 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | ReadWriteAttributeVector | , |
T | , | ||
dataset_test_types | |||
) |
Definition at line 929 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | readWriteVector2D | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 975 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | selectionArraySimple | , |
T | , | ||
dataset_test_types | |||
) |
Definition at line 1148 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | columnSelection | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 1195 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | attribute_scalar_rw_all | , |
T | , | ||
dataset_test_types | |||
) |
Definition at line 1238 of file tests_high_five_base.cpp.
BOOST_AUTO_TEST_CASE_TEMPLATE | ( | ReadWriteShuffleDeflate | , |
T | , | ||
numerical_test_types | |||
) |
Definition at line 1329 of file tests_high_five_base.cpp.
void columnSelectionTest | ( | ) |
Definition at line 1153 of file tests_high_five_base.cpp.
void generate2D | ( | T * | table, |
size_t | x, | ||
size_t | y, | ||
Func & | func | ||
) |
Definition at line 51 of file tests_high_five_base.cpp.
void generate2D | ( | std::vector< std::vector< T >> & | vec, |
size_t | x, | ||
size_t | y, | ||
Func & | func | ||
) |
Definition at line 60 of file tests_high_five_base.cpp.
void readWrite2DArrayTest | ( | ) |
Definition at line 687 of file tests_high_five_base.cpp.
void readWriteArrayTest | ( | ) |
Definition at line 813 of file tests_high_five_base.cpp.
void readWriteAttributeVectorTest | ( | ) |
Definition at line 848 of file tests_high_five_base.cpp.
void readWriteShuffleDeflateTest | ( | ) |
Definition at line 1269 of file tests_high_five_base.cpp.
void readWriteVector2DTest | ( | ) |
Definition at line 934 of file tests_high_five_base.cpp.
void readWriteVectorTest | ( | ) |
Definition at line 777 of file tests_high_five_base.cpp.
void selectionArraySimpleTest | ( | ) |
Definition at line 1079 of file tests_high_five_base.cpp.