From 84a5e16bf80338d81d71a3665b2c88d4ba313a84 Mon Sep 17 00:00:00 2001
From: Martin Killenberg <martin.killenberg@desy.de>
Date: Mon, 7 Aug 2017 16:29:02 +0200
Subject: [PATCH] fixed: test for VariableMapper was in the wrong directory,
 not even compiling

---
 tests/{ => src}/testVariableMapper.cpp | 5 +++++
 1 file changed, 5 insertions(+)
 rename tests/{ => src}/testVariableMapper.cpp (67%)

diff --git a/tests/testVariableMapper.cpp b/tests/src/testVariableMapper.cpp
similarity index 67%
rename from tests/testVariableMapper.cpp
rename to tests/src/testVariableMapper.cpp
index 591986f..7e2e9dc 100644
--- a/tests/testVariableMapper.cpp
+++ b/tests/src/testVariableMapper.cpp
@@ -3,6 +3,11 @@
 #include <boost/test/included/unit_test.hpp>
 //#include <boost/test/test_case_template.hpp>
 
+#include "VariableMapper.h"
+using namespace ChimeraTK;
+
 BOOST_AUTO_TEST_CASE( testCreation ){
   VariableMapper & vm = VariableMapper::getInstance();
+  VariableMapper & vm2 = VariableMapper::getInstance();
+  BOOST_CHECK( &vm == &vm2 );
 }
-- 
GitLab