![]() |
calculator (Windows) - unit tests 1.1.1
calculator - Unit Tests
|
#include "gtest/gtest.h"#include "../../utility/header/commonTypes.h"#include "../../utility/header/mathUtility.h"#include <fstream>#include <sys/stat.h>#include <cstdio>Go to the source code of this file.
Classes | |
| class | MathUtilityTest |
Functions | |
| TEST_F (MathUtilityTest, CalculateMean) | |
| TEST_F (MathUtilityTest, CalculateMedianOdd) | |
| TEST_F (MathUtilityTest, CalculateMedianEven) | |
| TEST_F (MathUtilityTest, CompareDoubleLessTest) | |
| TEST_F (MathUtilityTest, CompareDoubleGreaterTest) | |
| TEST_F (MathUtilityTest, CompareDoubleEqualTest) | |
| TEST_F (MathUtilityTest, CalculateMinMaxTest_1) | |
| TEST_F (MathUtilityTest, CalculateMinMaxTest_2) | |
| 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 126 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CalculateMean | ) |
Definition at line 34 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CalculateMedianEven | ) |
Definition at line 55 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CalculateMedianOdd | ) |
Definition at line 45 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CalculateMinMaxTest_1 | ) |
Definition at line 95 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CalculateMinMaxTest_2 | ) |
Definition at line 107 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CompareDoubleEqualTest | ) |
Definition at line 85 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CompareDoubleGreaterTest | ) |
Definition at line 75 of file utility_test.cpp.
| TEST_F | ( | MathUtilityTest | , |
| CompareDoubleLessTest | ) |
Definition at line 65 of file utility_test.cpp.