improved print method

This commit is contained in:
2025-03-19 00:56:39 +03:00
parent 9b6d0beb03
commit f85243e892
2 changed files with 10 additions and 4 deletions

View File

@@ -127,7 +127,7 @@ TEST_F(UnitTestMat, ToString)
{
const std::string str = m2.ToString();
EXPECT_FALSE(str.empty());
EXPECT_EQ(str, "1 2\n3 4\n");
EXPECT_EQ(str, "[[ 1.000, 2.000]\n [ 3.000, 4.000]]");
}
// Test assignment operators