OpenWalnut  1.4.0
Public Member Functions
WUnionFindTest Class Reference

Unit tests the WUnionFind datastructure. More...

#include <WUnionFind_test.h>

+ Inheritance diagram for WUnionFindTest:

List of all members.

Public Member Functions

void testUnionMergesToBiggerIndex (void)
 The union always ensure that the new canonical element is the biggest index.
void testMaxSet (void)
 Ensure that only the maximal set is returned, and nothing else.

Detailed Description

Unit tests the WUnionFind datastructure.

Definition at line 38 of file WUnionFind_test.h.


Member Function Documentation

void WUnionFindTest::testMaxSet ( void  ) [inline]

Ensure that only the maximal set is returned, and nothing else.

Definition at line 60 of file WUnionFind_test.h.

References WUnionFind::getMaxSet(), and WUnionFind::merge().

The union always ensure that the new canonical element is the biggest index.

Definition at line 45 of file WUnionFind_test.h.

References WUnionFind::m_component, and WUnionFind::merge().


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