aboutsummaryrefslogtreecommitdiffstats
path: root/test/testbench.hpp
diff options
context:
space:
mode:
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