summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp')
-rw-r--r--Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp
index 8c7cb421ab1..18d6ae0855e 100644
--- a/Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp
+++ b/Build/source/texk/dvisvgm/dvisvgm-src/tests/MatrixTest.cpp
@@ -2,7 +2,7 @@
** MatrixTest.cpp **
** **
** This file is part of dvisvgm -- a fast DVI to SVG converter **
-** Copyright (C) 2005-2021 Martin Gieseking <martin.gieseking@uos.de> **
+** Copyright (C) 2005-2022 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;