Functions
polynomials.cpp File Reference

Unit Test for polynomial functions. More...

#include <iostream>
#include <string>
#include <gtest/gtest.h>
#include <ecl/formatters/floats.hpp>
#include <ecl/formatters/strings.hpp>
#include "../../include/ecl/geometry/cartesian_point.hpp"
#include "../../include/ecl/geometry/pascals_triangle.hpp"
#include "../../include/ecl/geometry/polynomial.hpp"
Include dependency graph for polynomials.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 
 TEST (PolynomialTests, pascalsTriangle)
 
 TEST (PolynomialTests, quadratic)
 
 TEST (PolynomialTests, cubic)
 
 TEST (PolynomialTests, linear_function)
 
 TEST (PolynomialTests, roots)
 
 TEST (PolynomialTests, division)
 

Detailed Description

Unit Test for polynomial functions.

Date
May 2009

Definition in file polynomials.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 181 of file polynomials.cpp.

◆ TEST() [1/6]

TEST ( PolynomialTests  ,
pascalsTriangle   
)

Definition at line 42 of file polynomials.cpp.

◆ TEST() [2/6]

TEST ( PolynomialTests  ,
quadratic   
)

Definition at line 72 of file polynomials.cpp.

◆ TEST() [3/6]

TEST ( PolynomialTests  ,
cubic   
)

Definition at line 86 of file polynomials.cpp.

◆ TEST() [4/6]

TEST ( PolynomialTests  ,
linear_function   
)

Definition at line 96 of file polynomials.cpp.

◆ TEST() [5/6]

TEST ( PolynomialTests  ,
roots   
)

Definition at line 116 of file polynomials.cpp.

◆ TEST() [6/6]

TEST ( PolynomialTests  ,
division   
)

Definition at line 161 of file polynomials.cpp.



ecl_geometry
Author(s): Daniel Stonier
autogenerated on Mon Feb 28 2022 22:18:49