Fixed broken formatting in test_common.c

This commit is contained in:
Artemii Miasoedov
2025-02-16 15:55:40 +03:00
parent e96b6a382d
commit 9a7f52202d

View File

@@ -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))
} }
} }