Project
Loading...
Searching...
No Matches
SegmentTree.cxx File Reference
#include <boost/test/unit_test.hpp>
#include <boost/test/data/test_case.hpp>
#include <iostream>
#include "../include/MCHContour/SegmentTree.h"

Go to the source code of this file.

Classes

struct  YPOS
 

Macros

#define BOOST_TEST_MODULE   Test MCHContour SegmentTree
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (NeedAtLeastTwoValuesToBuildASegmentTree)
 
 BOOST_AUTO_TEST_CASE (NodeInsertAndDeleteIntVersion)
 
 BOOST_AUTO_TEST_CASE (NodeInsertAndDeleteDoubleVersion)
 
 BOOST_AUTO_TEST_CASE (JustCreatedNodeIsNotPotent)
 
 BOOST_AUTO_TEST_CASE (JustCreatedNodeHasCardinalityEqualsZero)
 
 BOOST_AUTO_TEST_CASE (PromoteNode)
 
 BOOST_AUTO_TEST_CASE (DemoteNode)
 
 BOOST_AUTO_TEST_CASE (MidPointOfANodeIsNotHalfPoint)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 17 of file SegmentTree.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 16 of file SegmentTree.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHContour SegmentTree
Author
Laurent Aphecetche

Definition at line 15 of file SegmentTree.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/8]

BOOST_AUTO_TEST_CASE ( DemoteNode  )

Definition at line 108 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/8]

BOOST_AUTO_TEST_CASE ( JustCreatedNodeHasCardinalityEqualsZero  )

Definition at line 97 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/8]

BOOST_AUTO_TEST_CASE ( JustCreatedNodeIsNotPotent  )

Definition at line 95 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/8]

BOOST_AUTO_TEST_CASE ( MidPointOfANodeIsNotHalfPoint  )

Definition at line 118 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/8]

BOOST_AUTO_TEST_CASE ( NeedAtLeastTwoValuesToBuildASegmentTree  )

Definition at line 51 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/8]

BOOST_AUTO_TEST_CASE ( NodeInsertAndDeleteDoubleVersion  )

Definition at line 76 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/8]

BOOST_AUTO_TEST_CASE ( NodeInsertAndDeleteIntVersion  )

Definition at line 57 of file SegmentTree.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/8]

BOOST_AUTO_TEST_CASE ( PromoteNode  )

Definition at line 99 of file SegmentTree.cxx.