diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp index 793e3c886c2..04ae3f01677 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/tests/TriangularPatchTest.cpp @@ -172,13 +172,13 @@ TEST(TriangularPatchTest, approximate) { Callback callback; tp.approximate(2, false, 0.1, callback); EXPECT_EQ(callback.pathstr(), "M0 0H10L0 10Z"); - EXPECT_EQ(callback.colorstr(), "#000000"); + EXPECT_EQ(callback.colorstr(), "#000"); callback.reset(); tp.setColors(Color(1.0, 0.0, 0.0), Color(0.0, 1.0, 0.0), Color(0.0, 0.0, 1.0)); tp.approximate(2, false, 0.1, callback); EXPECT_EQ(callback.pathstr(), "M0 0H5L0 5ZM0 5L5 0V5ZM0 5H5L0 10ZM5 0H10L5 5Z"); - EXPECT_EQ(callback.colorstr(), "#aa2b2b#555555#2b2baa#2baa2b"); + EXPECT_EQ(callback.colorstr(), "#aa2b2b#555#2b2baa#2baa2b"); } |