Made instantiation actual test program.

This commit is contained in:
jgoppert
2015-11-04 03:37:33 -05:00
parent 3477ff2adb
commit 88def6b54e
2 changed files with 8 additions and 6 deletions
+1 -5
View File
@@ -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})
+7 -1
View File
@@ -7,11 +7,17 @@
#include <Scalar.hpp>
#include <Quaternion.hpp>
namespace matrix {
using namespace matrix;
template class Vector<float, 2>;
template class Euler<float>;
template class Scalar<float>;
template class Matrix<float, 3, 3>;
int main() {
Vector<float, 2> v;
Euler<float> e;
Scalar<float> s;
Matrix<float, 3, 3> m;
return 0;
};