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
9eae1817
Commit
9eae1817
authored
Sep 25, 2020
by
niklas.baumgarten
Browse files
added new asserts
parent
1591dea5
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/TestMainProgramElliptic.cpp
View file @
9eae1817
...
...
@@ -45,6 +45,9 @@ INSTANTIATE_TEST_CASE_P(TestMainProgram, TestMainProgram, Values(
TEST_P
(
TestMainProgram
,
TestRunMLMCExperiment
)
{
ASSERT_EQ
(
mainProgram
->
Run
(),
0
);
ASSERT_TRUE
(
mainProgram
->
mlmc
->
totalErr
<
mainProgram
->
epsilon
);
ASSERT_TRUE
(
mainProgram
->
mlmc
->
alpha
>
0
);
ASSERT_TRUE
(
mainProgram
->
mlmc
->
beta
>
0
);
ASSERT_TRUE
(
mainProgram
->
mlmc
->
gamma
>
0
);
}
int
main
(
int
argc
,
char
**
argv
)
{
...
...
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