aboutsummaryrefslogtreecommitdiff
path: root/unsupported/test/alignedvector3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'unsupported/test/alignedvector3.cpp')
-rw-r--r--unsupported/test/alignedvector3.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/unsupported/test/alignedvector3.cpp b/unsupported/test/alignedvector3.cpp
index 252cb1d3f..f442e416a 100644
--- a/unsupported/test/alignedvector3.cpp
+++ b/unsupported/test/alignedvector3.cpp
@@ -70,13 +70,16 @@ void alignedvector3()
VERIFY_IS_APPROX(f6,r1-r4);
}
+ FastType f8, f9(0,0,0);
+ VERIFY_IS_APPROX(f9-f1,-f1);
+
std::stringstream ss1, ss2;
ss1 << f1;
ss2 << r1;
VERIFY(ss1.str()==ss2.str());
}
-void test_alignedvector3()
+EIGEN_DECLARE_TEST(alignedvector3)
{
for(int i = 0; i < g_repeat; i++) {
CALL_SUBTEST( alignedvector3<float>() );