ROOT
ROOT project
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TrigonometricParserTester Class Reference

Test fixture class for TrigonometricParser unit tests. More...

#include <trigonometric_parser_tester.hpp>

Inheritance diagram for TrigonometricParserTester:
Inheritance graph
Collaboration diagram for TrigonometricParserTester:
Collaboration graph

Public Member Functions

void testParseTokenAsTrigTerm (const std::string &input, const std::function< double(double)> &expected)
 Test the parseTokenAsTrigTerm method of TrigonometricParser.
 
void testParse (const std::string &input, const std::function< double(double)> &expected)
 Test the parse method of TrigonometricParser.
 

Detailed Description

Test fixture class for TrigonometricParser unit tests.

Member Function Documentation

◆ testParse()

void TrigonometricParserTester::testParse ( const std::string &  input,
const std::function< double(double)> &  expected 
)
inline

Test the parse method of TrigonometricParser.

Parameters
inputThe input trigonometric function string to be parsed.
expectedA std::function<double(double)> representing the expected parsed trigonometric function.
Here is the call graph for this function:

◆ testParseTokenAsTrigTerm()

void TrigonometricParserTester::testParseTokenAsTrigTerm ( const std::string &  input,
const std::function< double(double)> &  expected 
)
inline

Test the parseTokenAsTrigTerm method of TrigonometricParser.

Parameters
inputThe input token string to be parsed.
expectedA std::function<double(double)> representing the expected parsed term.
Here is the call graph for this function:

The documentation for this class was generated from the following file: