refactor project

This commit is contained in:
2024-02-23 10:48:43 +01:00
parent 82ad2e0696
commit 3b07ae783f
8 changed files with 103 additions and 119 deletions

View File

@@ -1,3 +1,4 @@
#include "Gauss.h"
#include "Matrix.h"
#include <cassert>
@@ -35,7 +36,7 @@ static const std::vector<Test> TEST_MATRICES = {
void test() {
for (Test test : TEST_MATRICES) {
test.mat.GaussJordan(true);
Gauss::GaussJordan(test.mat, true, true);
assert(test.mat == test.res);
}
}