Eq2deg
Classes | Macros | Functions
testEq2deg.cpp File Reference
#include <sstream>
#include <fstream>
#include <string>
#include <list>
#include <iostream>
#include <memory>
#include <cassert>
#include <math.h>
#include <boost/filesystem.hpp>
#include <boost/test/unit_test.hpp>
#include <Eq2degComp.hpp>
Include dependency graph for testEq2deg.cpp:

Classes

struct  UnitTestConfig
 

Macros

#define BOOST_TEST_DYN_LINK
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_MODULE   TestEq2deg
 

Functions

std::ofstream utfReportStream ("TestEq2deg_utfresults.xml")
 
 BOOST_GLOBAL_FIXTURE (UnitTestConfig)
 
 BOOST_AUTO_TEST_CASE (eq2deg1)
 
 BOOST_AUTO_TEST_CASE (eq2deg2)
 
 BOOST_AUTO_TEST_CASE (eq2deg3)
 
 BOOST_AUTO_TEST_CASE (eq2degComp1)
 

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   TestEq2deg

Function Documentation

◆ BOOST_AUTO_TEST_CASE() [1/4]

BOOST_AUTO_TEST_CASE ( eq2deg1  )

Test the resolution of x^2-x-1 in real (Eq2deg class)

◆ BOOST_AUTO_TEST_CASE() [2/4]

BOOST_AUTO_TEST_CASE ( eq2deg2  )

Test the resolution of x^2-2x+1 in real (Eq2deg class)

◆ BOOST_AUTO_TEST_CASE() [3/4]

BOOST_AUTO_TEST_CASE ( eq2deg3  )

Test that x^2+x+1 in real (Eq2deg class) the result should an exception

◆ BOOST_AUTO_TEST_CASE() [4/4]

BOOST_AUTO_TEST_CASE ( eq2degComp1  )

Test the resolution of x^2+x+1 in complex (Eq2degComp class)

◆ BOOST_GLOBAL_FIXTURE()

BOOST_GLOBAL_FIXTURE ( UnitTestConfig  )

◆ utfReportStream()

std::ofstream utfReportStream ( "TestEq2deg_utfresults.xml"  )