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

TestSuite for the WDendrogram class. More...

#include <WDendrogram_test.h>

+ Inheritance diagram for WDendrogramTest:
+ Collaboration diagram for WDendrogramTest:

Public Member Functions

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

Detailed Description

TestSuite for the WDendrogram class.

Definition at line 36 of file WDendrogram_test.h.

Member Function Documentation

◆ setUp()

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

+ Here is the call graph for this function:

◆ testStringCreation()

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

+ Here is the call graph for this function:

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