00001
00009
00010
00011 #include "test_algorithm.h"
00012 #include "../../datasets/dataset.h"
00013 #include <iostream>
00014
00015 namespace imedgine
00016 {
00017
00018
00019
00020 TestAlgorithm::TestAlgorithm()
00021 {
00022 std::cout << "constructing test algorithm" << std::endl;
00023 }
00024
00025
00026
00027 TestAlgorithm::TestAlgorithm(TestAlgorithm const&)
00028 {
00029 }
00030
00031
00032
00033 TestAlgorithm::~TestAlgorithm()
00034 {
00035 std::cout << "destroying test algorithm" << std::endl;
00036 }
00037
00038
00039
00040 TestAlgorithm& TestAlgorithm::operator = (TestAlgorithm const&)
00041 {
00042 return *this;
00043 }
00044
00045
00046
00047 void TestAlgorithm::run()
00048 {
00049 std::cout << "1: " << configuration_->getDataset("minuend")->getDatasetKey() << std::endl;
00050 std::cout << "2: " << configuration_->getDataset("subtrahend")->getDatasetKey() << std::endl;
00051 std::cout << "3: " << configuration_->getDataset("result")->getDatasetKey() << std::endl;
00052 std::cout << "running, running, running" << std::endl;
00053 }
00054
00055 }
00056