![]() |
EMath++
Classes for mathematical concepts
|
This is the main test file for the equation parser. More...
Go to the source code of this file.
Classes | |
class | EParserTest |
Class that provides a test fixture for the test cases. More... | |
Functions | |
TEST_F (EParserTest, Lexer) | |
TEST_F (EParserTest, CompoundLexer) | |
TEST_F (EParserTest, ArithmeticLexer) | |
TEST_F (EParserTest, Variables) | |
TEST_F (EParserTest, Compound) | |
TEST_F (EParserTest, Signs) | |
TEST_F (EParserTest, Noise) | |
TEST_F (EParserTest, Edge) | |
int | main (int argc, char **argv) |
Function that runs all the declared tests. | |
This is the main test file for the equation parser.
This file contains a text fixture class and all the test cases.
It consists of the EParserTest classe that provides the test fixture for all the tests.
Then it contains all the test cases, for testing correct execution.
Definition in file eparser.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Function that runs all the declared tests.
argc | The console arguments count |
argv | The console arguments as a array of char arrays |
Definition at line 169 of file eparser.cpp.
TEST_F | ( | EParserTest | , |
ArithmeticLexer | |||
) |
Definition at line 104 of file eparser.cpp.
References emthp::T_EOF, emthp::T_EXPONENT, emthp::T_NUMBER, emthp::T_VARIABLE, emthp::Token::type, and emthp::Token::value.
TEST_F | ( | EParserTest | , |
Compound | |||
) |
Definition at line 140 of file eparser.cpp.
TEST_F | ( | EParserTest | , |
CompoundLexer | |||
) |
Definition at line 77 of file eparser.cpp.
References emthp::T_EOF, emthp::T_EXPONENT, emthp::T_NUMBER, emthp::T_VARIABLE, emthp::Token::type, and emthp::Token::value.
TEST_F | ( | EParserTest | , |
Edge | |||
) |
Definition at line 161 of file eparser.cpp.
TEST_F | ( | EParserTest | , |
Lexer | |||
) |
Definition at line 42 of file eparser.cpp.
References emthp::T_EOF, emthp::T_EXPONENT, emthp::T_MINUS, emthp::T_NUMBER, emthp::T_VARIABLE, emthp::Token::type, and emthp::Token::value.
TEST_F | ( | EParserTest | , |
Noise | |||
) |
Definition at line 154 of file eparser.cpp.
TEST_F | ( | EParserTest | , |
Signs | |||
) |
Definition at line 144 of file eparser.cpp.
TEST_F | ( | EParserTest | , |
Variables | |||
) |
Definition at line 131 of file eparser.cpp.