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