From 88def6b54efc246b636c813c8bdd5a31194c186e Mon Sep 17 00:00:00 2001 From: jgoppert Date: Wed, 4 Nov 2015 03:37:33 -0500 Subject: [PATCH] Made instantiation actual test program. --- test/CMakeLists.txt | 6 +----- test/{coverage.cpp => instantiation.cpp} | 8 +++++++- 2 files changed, 8 insertions(+), 6 deletions(-) rename test/{coverage.cpp => instantiation.cpp} (71%) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index fe8586b6be..e54387093a 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,8 +1,3 @@ -if (COVERALLS) - add_library(coverage - coverage.cpp) -endif() - set(tests setIdentity inverse @@ -16,6 +11,7 @@ set(tests vector vector3 euler + instantiation ) foreach(test ${tests}) diff --git a/test/coverage.cpp b/test/instantiation.cpp similarity index 71% rename from test/coverage.cpp rename to test/instantiation.cpp index 6246833526..c7edefe105 100644 --- a/test/coverage.cpp +++ b/test/instantiation.cpp @@ -7,11 +7,17 @@ #include #include -namespace matrix { +using namespace matrix; template class Vector; template class Euler; template class Scalar; template class Matrix; +int main() { + Vector v; + Euler e; + Scalar s; + Matrix m; + return 0; };