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

Unit tests our WFiber class. More...

#include <WFiber_test.h>

+ Inheritance diagram for WFiberTest:
+ Collaboration diagram for WFiberTest:

Public Member Functions

void testEqualityOperator (void)
 Two fibers are equal if they have equal WPositions in same order. More...
 
void testDLTisSymmetric (void)
 dLt(Q,R) chooses just the maximum out come of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric. More...
 
void testDSTisSymmetric (void)
 dSt(Q,R) chooses just the minimum outcome of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric. More...
 
void testDTMeasure (void)
 The dt(Q,R) measure (mean closest point distance) is not symmetric. More...
 

Detailed Description

Unit tests our WFiber class.

Definition at line 40 of file WFiber_test.h.

Member Function Documentation

◆ testDLTisSymmetric()

void WFiberTest::testDLTisSymmetric ( void  )
inline

dLt(Q,R) chooses just the maximum out come of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric.

Definition at line 61 of file WFiber_test.h.

References WFiber::distDLT(), and WMixinVector< ValueT >::push_back().

+ Here is the call graph for this function:

◆ testDSTisSymmetric()

void WFiberTest::testDSTisSymmetric ( void  )
inline

dSt(Q,R) chooses just the minimum outcome of either dt(Q,r) or dt(R,Q) and hence it is a symmetric metric.

Definition at line 78 of file WFiber_test.h.

References WFiber::distDST(), and WMixinVector< ValueT >::push_back().

+ Here is the call graph for this function:

◆ testDTMeasure()

void WFiberTest::testDTMeasure ( void  )
inline

The dt(Q,R) measure (mean closest point distance) is not symmetric.

distances below a certain threshold will be omitted.

Definition at line 95 of file WFiber_test.h.

References WFiber::distDLT(), WFiber::distDST(), and WMixinVector< ValueT >::push_back().

+ Here is the call graph for this function:

◆ testEqualityOperator()

void WFiberTest::testEqualityOperator ( void  )
inline

Two fibers are equal if they have equal WPositions in same order.

Definition at line 46 of file WFiber_test.h.

References WMixinVector< ValueT >::push_back().

+ Here is the call graph for this function:

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