diff --git a/tests/test_TinyVector.cpp b/tests/test_TinyVector.cpp index e61942a7fdc15c99b801c2f6bf6f6b10d260a530..38588a6b4bed4a4440bf1a320ac8e4c9c23a38cc 100644 --- a/tests/test_TinyVector.cpp +++ b/tests/test_TinyVector.cpp @@ -5,18 +5,18 @@ TEST_CASE("TinyVector", "[algebra]") { TinyVector<3,int> v(1,2,3); - REQUIRE_NOTHROW(((v[0] == 1) and (v[1] == 2) and (v[2] == 3))); + REQUIRE(((v[0] == 1) and (v[1] == 2) and (v[2] == 3))); REQUIRE(v.dimension() == 3); const TinyVector<3,int> z = zero; - REQUIRE_NOTHROW(((z[0] == 0) and (z[1] == 0) and (z[2] == 0))); + REQUIRE(((z[0] == 0) and (z[1] == 0) and (z[2] == 0))); v = TinyVector<3,int>(3,2,4); TinyVector<3,int> w(1,2,6); REQUIRE((v,w)==31); w = 2*v; - REQUIRE_NOTHROW(((w[0] == 2*v[0]) and (w[1]==2*v[1]) and (w[2]==2*v[2]))); + REQUIRE(((w[0] == 2*v[0]) and (w[1]==2*v[1]) and (w[2]==2*v[2]))); TinyVector<3,int> x = v; REQUIRE(x==v); @@ -43,7 +43,7 @@ TEST_CASE("TinyVector", "[algebra]") { REQUIRE(x==v); TinyVector<3,int> z1; z1 = zero; - REQUIRE_NOTHROW(((z1[0] == 0) and (z1[1] == 0) and (z1[2] == 0))); + REQUIRE(((z1[0] == 0) and (z1[1] == 0) and (z1[2] == 0))); REQUIRE(Catch::Detail::stringify(x) == "(3,2,4)");