format project

This commit is contained in:
2024-02-23 10:14:23 +01:00
parent efd0a88868
commit 82ad2e0696
10 changed files with 27 additions and 22 deletions

View File

@@ -5,9 +5,9 @@
#error "Il faut être en debug mode ! xmake f -m debug"
#endif
struct Test{
Matrix mat;
Matrix res;
struct Test {
Matrix mat;
Matrix res;
};
static const std::vector<Test> TEST_MATRICES = {
@@ -35,9 +35,9 @@ static const std::vector<Test> TEST_MATRICES = {
void test() {
for (Test test : TEST_MATRICES) {
test.mat.GaussJordan(true);
assert(test.mat == test.res);
}
test.mat.GaussJordan(true);
assert(test.mat == test.res);
}
}
int main(int argc, char** argv) {