OpenWalnut  1.4.0
Public Member Functions
WFiberTest Class Reference

Unit tests our WFiber class. More...

#include <WFiber_test.h>

+ Inheritance diagram for WFiberTest:

List of all members.

Public Member Functions

void testEqualityOperator (void)
 Two fibers are equal if they have equal WPositions in same order.
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.
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.
void testDTMeasure (void)
 The dt(Q,R) measure (mean closest point distance) is not symmetric.

Detailed Description

Unit tests our WFiber class.

Definition at line 40 of file WFiber_test.h.


Member Function Documentation

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().

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().

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().

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().


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