refactor project
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user