renamed method

This commit is contained in:
2024-10-21 05:31:04 -07:00
parent 68f583c936
commit 295cc35cf0
3 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ namespace omath
Matrix operator/(float f) const; Matrix operator/(float f) const;
[[nodiscard]] [[nodiscard]]
std::string ToSrtring() const; std::string ToString() const;
~Matrix(); ~Matrix();

View File

@@ -213,7 +213,7 @@ namespace omath
return out; return out;
} }
std::string Matrix::ToSrtring() const std::string Matrix::ToString() const
{ {
std::string str; std::string str;

View File

@@ -145,7 +145,7 @@ TEST_F(UnitTestMatrix, Clear)
TEST_F(UnitTestMatrix, ToString) TEST_F(UnitTestMatrix, ToString)
{ {
const std::string str = m2.ToSrtring(); const std::string str = m2.ToString();
EXPECT_FALSE(str.empty()); EXPECT_FALSE(str.empty());
} }