![]() |
calculator (Windows) - unit tests 1.1.1
calculator - Unit Tests
|
#include "gtest/gtest.h"#include "../../calculator/header/calculator.h"Go to the source code of this file.
Classes | |
| class | CalculatorTest |
Functions | |
| TEST_F (CalculatorTest, TestAdd) | |
| TEST_F (CalculatorTest, TestSubtract) | |
| TEST_F (CalculatorTest, TestMultiply) | |
| TEST_F (CalculatorTest, TestDivide) | |
| TEST_F (CalculatorTest, TestDivideByZero) | |
| int | main (int argc, char **argv) |
| The main function of the test program. | |
| int main | ( | int | argc, |
| char ** | argv ) |
The main function of the test program.
| argc | The number of command-line arguments. |
| argv | An array of command-line argument strings. |
Definition at line 50 of file calculator_test.cpp.
| TEST_F | ( | CalculatorTest | , |
| TestAdd | ) |
Definition at line 19 of file calculator_test.cpp.
| TEST_F | ( | CalculatorTest | , |
| TestDivide | ) |
Definition at line 34 of file calculator_test.cpp.
| TEST_F | ( | CalculatorTest | , |
| TestDivideByZero | ) |
Definition at line 39 of file calculator_test.cpp.
| TEST_F | ( | CalculatorTest | , |
| TestMultiply | ) |
Definition at line 29 of file calculator_test.cpp.
| TEST_F | ( | CalculatorTest | , |
| TestSubtract | ) |
Definition at line 24 of file calculator_test.cpp.