added to_string method to matrix

This commit is contained in:
2024-05-18 13:28:04 +03:00
parent 53bd451072
commit 4e01f3ee09
4 changed files with 75 additions and 16 deletions

15
tests/UnitTestMatrix.cpp Normal file
View File

@@ -0,0 +1,15 @@
//
// Created by vlad on 5/18/2024.
//
#include <gtest/gtest.h>
#include <uml/matrix.h>
#include <print>
TEST(UnitTestMatrix, ToString)
{
uml::matrix matrix(2, 2);
matrix.set(1.1);
const auto str = matrix.to_string();
std::cout << str;
}