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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/dviware/dvisvgm/tests/MatrixTest.cpp b/dviware/dvisvgm/tests/MatrixTest.cpp
index 2858c66aa6..587501343c 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-2020 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2021 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 **
@@ -48,12 +48,12 @@ TEST(MatrixTest, construct1) {
TEST(MatrixTest, construct2) {
- Matrix m1 = {1, 2, 3, 4, 5, 6, 7, 8, 9};
+ Matrix m1{1, 2, 3, 4, 5, 6, 7, 8, 9};
for (int row=0; row < 3; row++)
for (int col=0; col < 3; col++)
ASSERT_EQ(m1.get(row, col), 3*row+col+1) << "row=" << row << ", col=" << col;
- Matrix m2 = {1, 2, 3, 4, 5, 6};
+ Matrix m2{1, 2, 3, 4, 5, 6};
for (int row=0; row < 2; row++)
for (int col=0; col < 3; col++)
ASSERT_EQ(m2.get(row, col), 3*row+col+1) << "row=" << row << ", col=" << col;