summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/tests/MatrixTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/tests/MatrixTest.cpp')
-rw-r--r--dviware/dvisvgm/tests/MatrixTest.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/dviware/dvisvgm/tests/MatrixTest.cpp b/dviware/dvisvgm/tests/MatrixTest.cpp
index 62eb6a1805..2858c66aa6 100644
--- a/dviware/dvisvgm/tests/MatrixTest.cpp
+++ b/dviware/dvisvgm/tests/MatrixTest.cpp
@@ -2,7 +2,7 @@
** MatrixTest.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2019 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2020 Martin Gieseking <martin.gieseking@uos.de> **
** **
** This program is free software; you can redistribute it and/or **
** modify it under the terms of the GNU General Public License as **
@@ -207,6 +207,8 @@ TEST(MatrixTest, invert) {
for (int i=0; i < 3; ++i)
for (int j=0; j < 3; ++j)
EXPECT_DOUBLE_EQ(m2.get(i,j), m3.get(i,j));
+ Matrix m4{0};
+ EXPECT_THROW(m4.invert(), exception);
}