Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Mpp
MLUQ
Commits
e8bb19c3
Commit
e8bb19c3
authored
Jan 27, 2021
by
niklas.baumgarten
Browse files
name fixing
parent
5d88dc3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
mlmc/tests/montecarlo/TestMonteCarlo.cpp
View file @
e8bb19c3
...
...
@@ -3,10 +3,10 @@
MONTECARLO_INTERVAL_TESTS
(
TestMonteCarloInterval
)
//MONTECARLO_INTERVAL_TESTS(TestMonteCarloIntervalWithSplit)
//
//MONTECARLO_INTERVAL_TESTS(TestMonteCarloIntervalWithDoubleSplit)
//
//
MONTECARLO_INTERVAL_TESTS(TestMonteCarloIntervalWithFullSplit)
MONTECARLO_INTERVAL_TESTS
(
TestMonteCarloIntervalWithFullSplit
)
int
main
(
int
argc
,
char
**
argv
)
{
...
...
mlmc/tests/montecarlo/TestMonteCarlo.hpp
View file @
e8bb19c3
...
...
@@ -9,7 +9,7 @@
#include
"TestEnvironment.hpp"
constexpr
double
MONTECARLO_TEST_TOLERANCE
=
1e-
2
;
constexpr
double
MONTECARLO_TEST_TOLERANCE
=
1e-
1
;
class
TestMonteCarlo
:
public
TestWithParam
<
std
::
string
>
{
protected:
...
...
@@ -70,15 +70,15 @@ protected:
TestMonteCarloInterval
(
2
)
{}
};
class
TestMonteCarloIntervalFullSplit
:
public
TestMonteCarloInterval
{
class
TestMonteCarloInterval
With
FullSplit
:
public
TestMonteCarloInterval
{
protected:
TestMonteCarloIntervalFullSplit
()
:
TestMonteCarloInterval
With
FullSplit
()
:
TestMonteCarloInterval
(
-
1
)
{}
};
#define MONTECARLO_INTERVAL_TESTS(MonteCarloIntervalTestClass)\
\
INSTANTIATE_TEST_SUITE_P(TestM
eshesCreator
, MonteCarloIntervalTestClass, Values(\
INSTANTIATE_TEST_SUITE_P(TestM
onteCarlo
, MonteCarloIntervalTestClass, Values(\
"StochasticDummyScalarGeneratorProblem"\
));\
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment