#include <gtest/gtest.h>
#include <math.h>
Go to the source code of this file.
Functions | |
int | main (int argc, char **argv) |
double | squareRoot (const double a) |
TEST (SquareRootTest, PositiveNos) | |
TEST (SquareRootTest, NegativeNos) | |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 32 of file sample.cpp.
double squareRoot | ( | const double | a | ) |
Definition at line 5 of file sample.cpp.
TEST | ( | SquareRootTest | , |
PositiveNos | |||
) |
Definition at line 18 of file sample.cpp.
TEST | ( | SquareRootTest | , |
NegativeNos | |||
) |
Definition at line 26 of file sample.cpp.