OpenWalnut  1.4.0
Public Member Functions
WDendrogramTest Class Reference

TestSuite for the WDendrogram class. More...

#include <WDendrogram_test.h>

+ Inheritance diagram for WDendrogramTest:

List of all members.

Public Member Functions

void testStringCreation (void)
 Check if the dendrogram correctly constructs the txt string.
void setUp (void)
 Sets up the WLogger to properly log some thing...

Detailed Description

TestSuite for the WDendrogram class.

Definition at line 36 of file WDendrogram_test.h.


Member Function Documentation

void WDendrogramTest::setUp ( void  ) [inline]

Sets up the WLogger to properly log some thing...

Definition at line 82 of file WDendrogram_test.h.

References WLogger::startup().

void WDendrogramTest::testStringCreation ( void  ) [inline]

Check if the dendrogram correctly constructs the txt string.

($level, ($childs,...), ($left, $right), $similarity)
But for the leaves we have (0, ($tractNum,))
.

                   .----'----. 0.32
                   |    8    |
         0.4   .---'---.     |
               |   6   |  .--'--. 0.6
      0.8   .--'--.    |  |  7  |
            |  5  |    |  |     |
            |     |    |  |     |
            0     1    2  3     4
     

Definition at line 54 of file WDendrogram_test.h.

References WDendrogram::merge(), and WDendrogram::toString().


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