14 #include <gtest/gtest.h> 15 #include "../../include/ecl/math/constants.hpp" 22 EXPECT_EQ(3.141592653589793238462643383279502884197169399375105820974944,
ecl::pi);
23 EXPECT_EQ(1.57079632679489661923,
ecl::pi_2);
24 EXPECT_EQ(0.78539816339744830962,
ecl::pi_4);
31 int main(
int argc,
char **argv) {
33 testing::InitGoogleTest(&argc,argv);
34 return RUN_ALL_TESTS();
double const pi
Mathematical constant for pi.
const double pi_4
Mathematical constant for pi/4.
int main(int argc, char **argv)
const double pi_2
Mathematical constant for pi/2.