Classes | Macros | Typedefs | Functions
tests_high_five_base.cpp File Reference
#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>
Include dependency graph for tests_high_five_base.cpp:

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, complexnumerical_test_types
 

Functions

template<typename T >
void attribute_scalar_rw ()
 
 BOOST_AUTO_TEST_CASE (ChunkingConstructorsTest)
 
 BOOST_AUTO_TEST_CASE (datasetOffset)
 
 BOOST_AUTO_TEST_CASE (DataSpaceTest)
 
 BOOST_AUTO_TEST_CASE (DataSpaceVariadicTest)
 
 BOOST_AUTO_TEST_CASE (DataSpaceVectorTest)
 
 BOOST_AUTO_TEST_CASE (DataTypeEqualSimple)
 
 BOOST_AUTO_TEST_CASE (DataTypeEqualTakeBack)
 
 BOOST_AUTO_TEST_CASE (HighFiveBasic)
 
 BOOST_AUTO_TEST_CASE (HighFiveExtensibleDataSet)
 
 BOOST_AUTO_TEST_CASE (HighFiveGroupAndDataSet)
 
 BOOST_AUTO_TEST_CASE (HighFiveOpenMode)
 
 BOOST_AUTO_TEST_CASE (HighFiveOutofDimension)
 
 BOOST_AUTO_TEST_CASE (HighFiveReadWriteShortcut)
 
 BOOST_AUTO_TEST_CASE (HighFiveRefCountMove)
 
 BOOST_AUTO_TEST_CASE (HighFiveSilence)
 
 BOOST_AUTO_TEST_CASE (HighFiveSimpleListing)
 
 BOOST_AUTO_TEST_CASE (ReadInBroadcastDims)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (attribute_scalar_rw_all, T, dataset_test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (columnSelection, T, numerical_test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (ReadWrite2DArray, 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 (ReadWriteShuffleDeflate, T, numerical_test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (readWriteVector, T, numerical_test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (readWriteVector2D, T, numerical_test_types)
 
 BOOST_AUTO_TEST_CASE_TEMPLATE (selectionArraySimple, T, dataset_test_types)
 
template<typename T >
void columnSelectionTest ()
 
template<typename T , typename Func >
void generate2D (std::vector< std::vector< T >> &vec, size_t x, size_t y, Func &func)
 
template<typename T , typename Func >
void generate2D (T *table, 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 ()
 

Macro Definition Documentation

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN   HighFiveTest

Definition at line 29 of file tests_high_five_base.cpp.

Typedef Documentation

◆ complex

using complex = std::complex<double>

Definition at line 39 of file tests_high_five_base.cpp.

◆ dataset_test_types

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.

◆ floating_numerics_test_types

typedef boost::mpl::list<float, double> floating_numerics_test_types

Definition at line 41 of file tests_high_five_base.cpp.

◆ numerical_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

Definition at line 45 of file tests_high_five_base.cpp.

Function Documentation

◆ attribute_scalar_rw()

template<typename T >
void attribute_scalar_rw ( )

Definition at line 1200 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [1/17]

BOOST_AUTO_TEST_CASE ( ChunkingConstructorsTest  )

Definition at line 660 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [2/17]

BOOST_AUTO_TEST_CASE ( datasetOffset  )

Definition at line 979 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [3/17]

BOOST_AUTO_TEST_CASE ( DataSpaceTest  )

Definition at line 564 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [4/17]

BOOST_AUTO_TEST_CASE ( DataSpaceVariadicTest  )

Definition at line 619 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [5/17]

BOOST_AUTO_TEST_CASE ( DataSpaceVectorTest  )

Definition at line 591 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [6/17]

BOOST_AUTO_TEST_CASE ( DataTypeEqualSimple  )

Definition at line 518 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [7/17]

BOOST_AUTO_TEST_CASE ( DataTypeEqualTakeBack  )

Definition at line 539 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [8/17]

BOOST_AUTO_TEST_CASE ( HighFiveBasic  )

Definition at line 122 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [9/17]

BOOST_AUTO_TEST_CASE ( HighFiveExtensibleDataSet  )

Definition at line 325 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [10/17]

BOOST_AUTO_TEST_CASE ( HighFiveGroupAndDataSet  )

Definition at line 231 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [11/17]

BOOST_AUTO_TEST_CASE ( HighFiveOpenMode  )

Definition at line 185 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [12/17]

BOOST_AUTO_TEST_CASE ( HighFiveOutofDimension  )

Definition at line 1243 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [13/17]

BOOST_AUTO_TEST_CASE ( HighFiveReadWriteShortcut  )

Definition at line 727 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [14/17]

BOOST_AUTO_TEST_CASE ( HighFiveRefCountMove  )

Definition at line 385 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [15/17]

BOOST_AUTO_TEST_CASE ( HighFiveSilence  )

Definition at line 164 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [16/17]

BOOST_AUTO_TEST_CASE ( HighFiveSimpleListing  )

Definition at line 452 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE() [17/17]

BOOST_AUTO_TEST_CASE ( ReadInBroadcastDims  )

Definition at line 1334 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [1/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( attribute_scalar_rw_all  ,
,
dataset_test_types   
)

Definition at line 1238 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [2/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( columnSelection  ,
,
numerical_test_types   
)

Definition at line 1195 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [3/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ReadWrite2DArray  ,
,
numerical_test_types   
)

Definition at line 723 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [4/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( readWriteArray  ,
,
numerical_test_types   
)

Definition at line 843 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [5/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ReadWriteAttributeVector  ,
,
dataset_test_types   
)

Definition at line 929 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [6/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( ReadWriteShuffleDeflate  ,
,
numerical_test_types   
)

Definition at line 1329 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [7/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( readWriteVector  ,
,
numerical_test_types   
)

Definition at line 808 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [8/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( readWriteVector2D  ,
,
numerical_test_types   
)

Definition at line 975 of file tests_high_five_base.cpp.

◆ BOOST_AUTO_TEST_CASE_TEMPLATE() [9/9]

BOOST_AUTO_TEST_CASE_TEMPLATE ( selectionArraySimple  ,
,
dataset_test_types   
)

Definition at line 1148 of file tests_high_five_base.cpp.

◆ columnSelectionTest()

template<typename T >
void columnSelectionTest ( )

Definition at line 1153 of file tests_high_five_base.cpp.

◆ generate2D() [1/2]

template<typename T , typename Func >
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.

◆ generate2D() [2/2]

template<typename T , typename Func >
void generate2D ( T *  table,
size_t  x,
size_t  y,
Func &  func 
)

Definition at line 51 of file tests_high_five_base.cpp.

◆ readWrite2DArrayTest()

template<typename T >
void readWrite2DArrayTest ( )

Definition at line 687 of file tests_high_five_base.cpp.

◆ readWriteArrayTest()

template<typename T >
void readWriteArrayTest ( )

Definition at line 813 of file tests_high_five_base.cpp.

◆ readWriteAttributeVectorTest()

template<typename T >
void readWriteAttributeVectorTest ( )

Definition at line 848 of file tests_high_five_base.cpp.

◆ readWriteShuffleDeflateTest()

template<typename T >
void readWriteShuffleDeflateTest ( )

Definition at line 1269 of file tests_high_five_base.cpp.

◆ readWriteVector2DTest()

template<typename T >
void readWriteVector2DTest ( )

Definition at line 934 of file tests_high_five_base.cpp.

◆ readWriteVectorTest()

template<typename T >
void readWriteVectorTest ( )

Definition at line 777 of file tests_high_five_base.cpp.

◆ selectionArraySimpleTest()

template<typename T >
void selectionArraySimpleTest ( )

Definition at line 1079 of file tests_high_five_base.cpp.



lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:25