EMath++
Classes for mathematical concepts
Loading...
Searching...
No Matches
EParserTest Class Reference

Class that provides a test fixture for the test cases. More...

+ Inheritance diagram for EParserTest:
+ Collaboration diagram for EParserTest:

Public Member Functions

 EParserTest ()
 Standalone constructor for the EParserTest class.
 
void set_input (const std::string &input)
 Function for setting the input to the lexer and parser objects.
 

Protected Attributes

emthp::Lexer lexer
 The lexer object on which to perform the tests on.
 
emthp::Parser parser
 The parser object on which to perform the tests on.
 

Detailed Description

Class that provides a test fixture for the test cases.

Definition at line 14 of file eparser.cpp.

Constructor & Destructor Documentation

◆ EParserTest()

EParserTest::EParserTest ( )
inline

Standalone constructor for the EParserTest class.

Initializes the lexer and parser object with empty inputs.

Definition at line 20 of file eparser.cpp.

Member Function Documentation

◆ set_input()

void EParserTest::set_input ( const std::string &  input)
inline

Function for setting the input to the lexer and parser objects.

Parameters
inputThe std::string to set as input

Definition at line 25 of file eparser.cpp.

References lexer, and parser.

Member Data Documentation

◆ lexer

emthp::Lexer EParserTest::lexer
protected

The lexer object on which to perform the tests on.

Definition at line 33 of file eparser.cpp.

◆ parser

emthp::Parser EParserTest::parser
protected

The parser object on which to perform the tests on.

Definition at line 37 of file eparser.cpp.


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