Simplified branch tests

This commit is contained in:
Eduard Urbach 2024-07-08 13:48:46 +02:00
parent b5bb291e47
commit 03a07b6460
Signed by: akyoto
GPG Key ID: C874F672B1AF20C0

View File

@ -33,13 +33,11 @@ main() {
exit(1) exit(1)
} }
if x != x || x != x || x != x || x == x || x != x {
if x + 1 == inc(x) && x - 1 == dec(x) && x == dec(inc(x)) {
if (x == x && x != x || x == x && x == x) && (x == x && x == x || x == x && x != x) { if (x == x && x != x || x == x && x == x) && (x == x && x == x || x == x && x != x) {
if (x != x || x == x) && (x != x || x != x) || (x == x || x != x) && (x != x || x == x) {
exit(0) exit(0)
} }
} }
}
exit(1) exit(1)
} }