Test fixture class for PolynomialParser unit tests.
More...
#include <polynomial_parser_tester.hpp>
Test fixture class for PolynomialParser unit tests.
◆ testParse()
| void PolynomialParserTester::testParse |
( |
const std::string & |
input, |
|
|
const std::function< double(double)> & |
expected |
|
) |
| |
|
inline |
Test the parse method of PolynomialParser.
- Parameters
-
| input | The input polynomial function string to be parsed. |
| expected | A std::function<double(double)> representing the expected parsed polynomial function. |
◆ testParseTokenAsPolyTerm()
| void PolynomialParserTester::testParseTokenAsPolyTerm |
( |
const std::string & |
input, |
|
|
const std::function< double(double)> & |
expected |
|
) |
| |
|
inline |
Test the parseTokenAsPolyTerm method of PolynomialParser.
- Parameters
-
| input | The input token string to be parsed. |
| expected | A std::function<double(double)> representing the expected parsed term. |
The documentation for this class was generated from the following file: