Functions
sample.cpp File Reference
#include <gtest/gtest.h>
#include <math.h>
Include dependency graph for sample.cpp:

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)
 

Function Documentation

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.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21