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"
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) | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 181 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
pascalsTriangle | |||
) |
Definition at line 42 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
quadratic | |||
) |
Definition at line 72 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
cubic | |||
) |
Definition at line 86 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
linear_function | |||
) |
Definition at line 96 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
roots | |||
) |
Definition at line 116 of file polynomials.cpp.
TEST | ( | PolynomialTests | , |
division | |||
) |
Definition at line 161 of file polynomials.cpp.