OpenWalnut  1.5.0dev
Public Types | Public Member Functions | Private Member Functions | List of all members
WMWriteCSVTest Class Reference

test class of the writeCSV class More...

#include <WMWriteCSV_test.h>

+ Inheritance diagram for WMWriteCSVTest:
+ Collaboration diagram for WMWriteCSVTest:

Public Types

typedef std::shared_ptr< std::vector< float > > SPFloatVector
 A shared_ptr for a float vector. More...
 
typedef std::shared_ptr< std::vector< size_t > > SPSizeVector
 A shared_ptr for a size_t vector. More...
 

Public Member Functions

void testgetListOfInternalVertex ()
 test for converting a fiber to a tuple of vectors and ids More...
 
void testContains ()
 test the checks whether the source domain contains the specified float More...
 
void testCreateStartCounter ()
 test goes through the existing EvenIDs and returns the next one. More...
 

Private Member Functions

std::tuple< WDataSetFibers::SPtr, std::vector< std::tuple< float, float, float, size_t > > > createSampleFibers ()
 helpermethod that generates a fiber example More...
 

Detailed Description

test class of the writeCSV class

Definition at line 42 of file WMWriteCSV_test.h.

Member Typedef Documentation

◆ SPFloatVector

typedef std::shared_ptr< std::vector< float > > WMWriteCSVTest::SPFloatVector

A shared_ptr for a float vector.

Definition at line 48 of file WMWriteCSV_test.h.

◆ SPSizeVector

typedef std::shared_ptr< std::vector< size_t > > WMWriteCSVTest::SPSizeVector

A shared_ptr for a size_t vector.

Definition at line 53 of file WMWriteCSV_test.h.

Member Function Documentation

◆ createSampleFibers()

std::tuple< WDataSetFibers::SPtr, std::vector< std::tuple < float, float, float, size_t > > > WMWriteCSVTest::createSampleFibers ( )
inlineprivate

helpermethod that generates a fiber example

Returns
std::tuple < WDataSetFibers::SPtr, std::vector< std::tuple < osg::Vec3, size_t > > > The fibers

Definition at line 174 of file WMWriteCSV_test.h.

Referenced by testgetListOfInternalVertex().

+ Here is the caller graph for this function:

◆ testContains()

void WMWriteCSVTest::testContains ( )
inline

test the checks whether the source domain contains the specified float

Definition at line 90 of file WMWriteCSV_test.h.

References WMWriteCSV::contains().

+ Here is the call graph for this function:

◆ testCreateStartCounter()

void WMWriteCSVTest::testCreateStartCounter ( )
inline

test goes through the existing EvenIDs and returns the next one.

Definition at line 141 of file WMWriteCSV_test.h.

References WMWriteCSV::createStartCounter().

+ Here is the call graph for this function:

◆ testgetListOfInternalVertex()

void WMWriteCSVTest::testgetListOfInternalVertex ( )
inline

test for converting a fiber to a tuple of vectors and ids

Definition at line 58 of file WMWriteCSV_test.h.

References createSampleFibers(), and WMWriteCSV::getListOfInternalVertex().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: