Commit e8586906 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

renamed directory and added TestMultilevelMonteCarlo

parent 59d4fb21
//
// Created by niklas on 12.05.21.
//
#include "TestMultilevelMonteCarlo.hpp"
#ifndef TESTMULTILEVELMONTECARLO_HPP
#define TESTMULTILEVELMONTECARLO_HPP
class TestMultilevelMonteCarlo {
};
#endif //TESTMULTILEVELMONTECARLO_HPP
......@@ -6,7 +6,7 @@
struct TestData {
MonteCarloMap _mcMap = {
EstimatorMap _mcMap = {
{3, MonteCarlo(3, 0, true, true)},
{4, MonteCarlo(4, 0, true, true)},
{5, MonteCarlo(5, 0, true, true)},
......@@ -43,7 +43,7 @@ struct TestData {
const MultilevelData _data{_ctrs, _means, _sVars, _kurtosis};
MonteCarloMap GenerateMonteCarloMapWithData() {
EstimatorMap GenerateMonteCarloMapWithData() {
for (auto &[level, mc] : _mcMap) {
mc.aggregate.ctr = _ctrs[level];
mc.aggregate.mean = _means[level];
......
#include "TestData.hpp"
#include "Errors.hpp"
#include "MultilevelErrors.hpp"
#include "TestEnvironment.hpp"
class TestEmpiricMeasureLevelMaps : public Test {
protected:
MultilevelData data;
MonteCarloMap mcMap;
EstimatorMap mcMap;
void SetUp() override {
TestData testData;
......
#include "TestData.hpp"
#include "Errors.hpp"
#include "MultilevelErrors.hpp"
#include "TestEnvironment.hpp"
......@@ -7,7 +7,7 @@
class TestErrors : public Test {
protected:
MultilevelData data;
Errors errors;
MultilevelErrors errors;
void SetUp() override {
TestData testData;
......
Markdown is supported
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