From 4bf4611087cbf3e59388c6d4fed0ae41c435510d Mon Sep 17 00:00:00 2001 From: jgoppert Date: Wed, 4 Nov 2015 10:54:46 -0500 Subject: [PATCH] Work on coverage. --- test/CMakeLists.txt | 7 ++++++- test/instantiation.cpp | 8 +------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e54387093a..f144297156 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,3 +1,9 @@ +add_library(instantiation + instantiation.cpp + ) + +link_libraries(instantiation) + set(tests setIdentity inverse @@ -11,7 +17,6 @@ set(tests vector vector3 euler - instantiation ) foreach(test ${tests}) diff --git a/test/instantiation.cpp b/test/instantiation.cpp index c7edefe105..6246833526 100644 --- a/test/instantiation.cpp +++ b/test/instantiation.cpp @@ -7,17 +7,11 @@ #include #include -using namespace matrix; +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; };