mirror of
https://github.com/orange-cpp/omath.git
synced 2026-02-13 07:03:25 +00:00
renamed method
This commit is contained in:
@@ -93,7 +93,7 @@ namespace omath
|
||||
Matrix operator/(float f) const;
|
||||
|
||||
[[nodiscard]]
|
||||
std::string ToSrtring() const;
|
||||
std::string ToString() const;
|
||||
|
||||
~Matrix();
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ namespace omath
|
||||
return out;
|
||||
}
|
||||
|
||||
std::string Matrix::ToSrtring() const
|
||||
std::string Matrix::ToString() const
|
||||
{
|
||||
std::string str;
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ TEST_F(UnitTestMatrix, Clear)
|
||||
|
||||
TEST_F(UnitTestMatrix, ToString)
|
||||
{
|
||||
const std::string str = m2.ToSrtring();
|
||||
const std::string str = m2.ToString();
|
||||
EXPECT_FALSE(str.empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user