Test fixture class for TrigonometricParser unit tests.
More...
#include <trigonometric_parser_tester.hpp>
Test fixture class for TrigonometricParser unit tests.
◆ testParse()
| void TrigonometricParserTester::testParse |
( |
const std::string & |
input, |
|
|
const std::function< double(double)> & |
expected |
|
) |
| |
|
inline |
Test the parse method of TrigonometricParser.
- Parameters
-
| input | The input trigonometric function string to be parsed. |
| expected | A std::function<double(double)> representing the expected parsed trigonometric function. |
◆ testParseTokenAsTrigTerm()
| void TrigonometricParserTester::testParseTokenAsTrigTerm |
( |
const std::string & |
input, |
|
|
const std::function< double(double)> & |
expected |
|
) |
| |
|
inline |
Test the parseTokenAsTrigTerm method of TrigonometricParser.
- 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: