OpenWalnut  1.5.0dev
Public Member Functions | List of all members
WMixinVectorTest Class Reference

Unit tests the WMixinVector copy from OSG. More...

#include <WMixinVector_test.h>

+ Inheritance diagram for WMixinVectorTest:
+ Collaboration diagram for WMixinVectorTest:

Public Member Functions

void testDefaultCtor (void)
 Test the default Ctor. More...
 
void testSizeValueCtor (void)
 You may initialize a vector with a given size and optionally with a default value of the elments. More...
 
void testCopyCtorOnWMixinVector (void)
 If you have another WMixinVector a copy construction should be possible. More...
 
void testCopyCtorOnRealSTDVector (void)
 If you have a std::vector< T > copy construction should still be possible. More...
 
void testIteratorConstructor (void)
 A creation should also be possible out of iterators. More...
 

Detailed Description

Unit tests the WMixinVector copy from OSG.

Warning
THIS IS FAR AWAY FROM BEING A COMPLETE UNIT TEST SUIT FOR WMIXINVECTOR!!!

Definition at line 46 of file WMixinVector_test.h.

Member Function Documentation

◆ testCopyCtorOnRealSTDVector()

void WMixinVectorTest::testCopyCtorOnRealSTDVector ( void  )
inline

If you have a std::vector< T > copy construction should still be possible.

Definition at line 90 of file WMixinVector_test.h.

◆ testCopyCtorOnWMixinVector()

void WMixinVectorTest::testCopyCtorOnWMixinVector ( void  )
inline

If you have another WMixinVector a copy construction should be possible.

Definition at line 78 of file WMixinVector_test.h.

◆ testDefaultCtor()

void WMixinVectorTest::testDefaultCtor ( void  )
inline

Test the default Ctor.

Definition at line 52 of file WMixinVector_test.h.

◆ testIteratorConstructor()

void WMixinVectorTest::testIteratorConstructor ( void  )
inline

A creation should also be possible out of iterators.

Definition at line 102 of file WMixinVector_test.h.

References WMixinVector< ValueT >::size().

+ Here is the call graph for this function:

◆ testSizeValueCtor()

void WMixinVectorTest::testSizeValueCtor ( void  )
inline

You may initialize a vector with a given size and optionally with a default value of the elments.

Definition at line 61 of file WMixinVector_test.h.

References WMixinVector< ValueT >::size().

+ Here is the call graph for this function:

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