From 5b9bb0026512d078ca06ff8029abf499da2e66d9 Mon Sep 17 00:00:00 2001 From: Desire NUENTSA Date: Mon, 21 Jan 2013 15:37:06 +0100 Subject: Test for the sparse Blue norm --- test/sparse_vector.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/sparse_vector.cpp') diff --git a/test/sparse_vector.cpp b/test/sparse_vector.cpp index 9d559f5bf..7973a47dc 100644 --- a/test/sparse_vector.cpp +++ b/test/sparse_vector.cpp @@ -77,6 +77,8 @@ template void sparse_vector(int rows, int cols) VERIFY_IS_APPROX(v1.squaredNorm(), refV1.squaredNorm()); + + VERIFY_IS_APPROX(v1.blueNorm(), refV1.blueNorm()); // test aliasing VERIFY_IS_APPROX((v1 = -v1), (refV1 = -refV1)); -- cgit v1.2.3