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

Go to the source code of this file.

Macros

#define BOOST_TEST_MODULE   Test MCHContour Edge
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 BOOST_AUTO_TEST_CASE (AVerticalLeftEdgeIsTopToBottom)
 
 BOOST_AUTO_TEST_CASE (AVerticalRightEdgeIsBottomToTop)
 
 BOOST_AUTO_TEST_CASE (ALeftToRightHorizontalEdgeHasEndPointGreaterThanStartPoint)
 
 BOOST_AUTO_TEST_CASE (ARightToLeftHorizontalEdgeHasEndPointSmallerThanStartPoint)
 
 BOOST_AUTO_TEST_CASE (AVerticalEdgeWithBeginAboveEndIsALefty)
 
 BOOST_AUTO_TEST_CASE (AVerticalEdgeWithBeginAboveEndIsARighty)
 
 BOOST_AUTO_TEST_CASE (AVerticalEdgeHasATopAndBottom)
 
 BOOST_AUTO_TEST_CASE (BeginAndEndForALeftEdgeVertical)
 
 BOOST_AUTO_TEST_CASE (BeginAndEndForARightEdgeVertical)
 
 BOOST_AUTO_TEST_CASE (BeginAndEndForALeftToRightHorizontal)
 
 BOOST_AUTO_TEST_CASE (BeginAndEndForARightToLeftHorizontal)
 
 BOOST_AUTO_TEST_CASE (VectorOfVerticals)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 17 of file Edge.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 16 of file Edge.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test MCHContour Edge
Author
Laurent Aphecetche

Definition at line 15 of file Edge.cxx.

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/12]

BOOST_AUTO_TEST_CASE ( ALeftToRightHorizontalEdgeHasEndPointGreaterThanStartPoint  )

Definition at line 46 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [2/12]

BOOST_AUTO_TEST_CASE ( ARightToLeftHorizontalEdgeHasEndPointSmallerThanStartPoint  )

Definition at line 53 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [3/12]

BOOST_AUTO_TEST_CASE ( AVerticalEdgeHasATopAndBottom  )

Definition at line 74 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [4/12]

BOOST_AUTO_TEST_CASE ( AVerticalEdgeWithBeginAboveEndIsALefty  )

Definition at line 60 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [5/12]

BOOST_AUTO_TEST_CASE ( AVerticalEdgeWithBeginAboveEndIsARighty  )

Definition at line 67 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [6/12]

BOOST_AUTO_TEST_CASE ( AVerticalLeftEdgeIsTopToBottom  )

Definition at line 30 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [7/12]

BOOST_AUTO_TEST_CASE ( AVerticalRightEdgeIsBottomToTop  )

Definition at line 38 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [8/12]

BOOST_AUTO_TEST_CASE ( BeginAndEndForALeftEdgeVertical  )

Definition at line 81 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [9/12]

BOOST_AUTO_TEST_CASE ( BeginAndEndForALeftToRightHorizontal  )

Definition at line 101 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [10/12]

BOOST_AUTO_TEST_CASE ( BeginAndEndForARightEdgeVertical  )

Definition at line 91 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [11/12]

BOOST_AUTO_TEST_CASE ( BeginAndEndForARightToLeftHorizontal  )

Definition at line 108 of file Edge.cxx.

◆ BOOST_AUTO_TEST_CASE() [12/12]

BOOST_AUTO_TEST_CASE ( VectorOfVerticals  )

Definition at line 115 of file Edge.cxx.