Skip to content

Commit dd88980

Browse files
committed
debug CI
1 parent 9ee8ae4 commit dd88980

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

cpp/tests/test_math_tdpf.cpp

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#include "memilio/math/time_dependent_parameter_functor.h"
2+
#include "memilio/utils/logging.h"
23
#include "memilio/utils/random_number_generator.h"
34

45
#include <gtest/gtest.h>
@@ -29,15 +30,19 @@ class TestMathTdpf : public ::testing::Test
2930
TEST_F(TestMathTdpf, zero)
3031
{
3132
// Test that the Zero-TDPF always returns zero, using a random evaluation point.
32-
33+
mio::set_log_level(mio::LogLevel::trace);
34+
mio::log_info("entered test");
3335
// initialize
3436
mio::TimeDependentParameterFunctor tdpf;
37+
mio::log_info("created tdpf");
3538

3639
// verify output
3740
for (int i = 0; i < this->num_evals; i++) {
38-
auto random_t_eval = this->fuzzy_val(-std::numeric_limits<double>::max(), std::numeric_limits<double>::max());
41+
double random_t_eval = this->fuzzy_val(-std::numeric_limits<double>::max(), std::numeric_limits<double>::max());
42+
mio::log_debug("testing {}", random_t_eval);
3943
EXPECT_EQ(tdpf(random_t_eval), 0.0);
4044
}
45+
mio::log_info("finished test");
4146
}
4247

4348
TEST_F(TestMathTdpf, linearInterpolation)

0 commit comments

Comments
 (0)