aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbench.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-06 18:58:40 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-08-06 18:58:40 +0100
commit5401b4a6ea1055e27820fd1155c7093d63491214 (patch)
tree979789f6976c34baa76fc82b5fb9c61b5bf3c049 /test/testbench.hpp
parent8aa516dbc3ed962894755b22e5cf88a83b0af812 (diff)
downloadYAGE-5401b4a6ea1055e27820fd1155c7093d63491214.tar.gz
YAGE-5401b4a6ea1055e27820fd1155c7093d63491214.zip
Removing unnecessary tests and formatting files
Diffstat (limited to 'test/testbench.hpp')
-rw-r--r--test/testbench.hpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/testbench.hpp b/test/testbench.hpp
deleted file mode 100644
index a5b8853d..00000000
--- a/test/testbench.hpp
+++ /dev/null
@@ -1,40 +0,0 @@
-/* ----------------------------------------------------------------------------
- * testbench.hpp
- *
- * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
- * See file LICENSE for more details
- * ----------------------------------------------------------------------------
- */
-
-#ifndef TEST_BENCH_HPP
-#define TEST_BENCH_HPP
-
-#include <string>
-#include <vector>
-
-struct Test
-{
- std::string name;
- bool passed;
-
- Test(const std::string &_name, bool _passed) : name(_name), passed(_passed) {}
-};
-
-class TestBench
-{
-private:
- int incrementer=0;
- int passed=0;
- int failed=0;
-
- std::vector<Test> tests_;
-
-public:
- TestBench() : tests_() {}
-
- void startTest(const std::string &test_name);
- void endTest(bool pass);
- void printResults();
-};
-
-#endif