mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Fixed broken formatting in test_common.c
This commit is contained in:
@@ -243,8 +243,7 @@ test_assert_mat2_eq_identity(mat2 m2) {
|
|||||||
for (j = 0; j < 2; j++) {
|
for (j = 0; j < 2; j++) {
|
||||||
if (i == j) {
|
if (i == j) {
|
||||||
ASSERT(test_eq(m2[i][j], 1.0f))
|
ASSERT(test_eq(m2[i][j], 1.0f))
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
ASSERT(test_eq(m2[i][j], 0.0f))
|
ASSERT(test_eq(m2[i][j], 0.0f))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -352,8 +351,7 @@ test_assert_mat3_eq_identity(mat3 m3) {
|
|||||||
for (j = 0; j < 3; j++) {
|
for (j = 0; j < 3; j++) {
|
||||||
if (i == j) {
|
if (i == j) {
|
||||||
ASSERT(test_eq(m3[i][j], 1.0f))
|
ASSERT(test_eq(m3[i][j], 1.0f))
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
ASSERT(test_eq(m3[i][j], 0.0f))
|
ASSERT(test_eq(m3[i][j], 0.0f))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -435,8 +433,7 @@ test_assert_mat4_eq_identity(mat4 m4) {
|
|||||||
for (j = 0; j < 4; j++) {
|
for (j = 0; j < 4; j++) {
|
||||||
if (i == j) {
|
if (i == j) {
|
||||||
ASSERT(test_eq(m4[i][j], 1.0f))
|
ASSERT(test_eq(m4[i][j], 1.0f))
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
ASSERT(test_eq(m4[i][j], 0.0f))
|
ASSERT(test_eq(m4[i][j], 0.0f))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user