Commit 9eae1817 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

added new asserts

parent 1591dea5
...@@ -45,6 +45,9 @@ INSTANTIATE_TEST_CASE_P(TestMainProgram, TestMainProgram, Values( ...@@ -45,6 +45,9 @@ INSTANTIATE_TEST_CASE_P(TestMainProgram, TestMainProgram, Values(
TEST_P(TestMainProgram, TestRunMLMCExperiment) { TEST_P(TestMainProgram, TestRunMLMCExperiment) {
ASSERT_EQ(mainProgram->Run(), 0); ASSERT_EQ(mainProgram->Run(), 0);
ASSERT_TRUE(mainProgram->mlmc->totalErr < mainProgram->epsilon); 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) { int main(int argc, char **argv) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment