preCICE v3.1.2
Loading...
Searching...
No Matches
MathTest.cpp
Go to the documentation of this file.
2#include "logging/Logger.hpp"
3#include "math/math.hpp"
5#include "testing/Testing.hpp"
6
7using namespace precice;
8
10
11BOOST_AUTO_TEST_CASE(IntegerExponent)
12{
13 PRECICE_TEST(1_rank);
14 BOOST_TEST(math::pow_int<4>(4.2) == std::pow(4.2, 4));
15 BOOST_TEST(math::pow_int<3>(7.2) == std::pow(7.2, 3));
16}
BOOST_AUTO_TEST_CASE(IntegerExponent)
Definition MathTest.cpp:11
BOOST_AUTO_TEST_SUITE(PreProcess)
BOOST_AUTO_TEST_SUITE_END()
#define PRECICE_TEST(...)
Definition Testing.hpp:27
Main namespace of the precice library.
T pow(T... args)