style and consistency improved

This commit is contained in:
2026-09-03 21:13:45 -05:00
parent 8b2a2e8f65
commit 9c583ff0f6
8 changed files with 572 additions and 571 deletions
+16 -16
View File
@@ -1,20 +1,20 @@
#include <stdio.h>
#include "libkeke_symbol.h"
#include <stdio.h>
int main(void) {
KekeSymbol s = keke_new_symbol();
if(s == KEKE_NULL_SYMBOL) {
puts("s != KEKE_NULL_SYMBOL\nTEST FAILED");
return 1;
} else {
puts("s != KEKE_NULL_SYMBOL\nTEST PASSED\n");
}
KekeSymbol t = keke_new_symbol();
if(s == t) {
puts("s == t\nTEST FAILED");
return 1;
} else {
puts("s != t\nTEST PASSED\n");
}
KekeSymbol s = keke_new_symbol();
if (s == KEKE_NULL_SYMBOL) {
puts("s != KEKE_NULL_SYMBOL\nTEST FAILED");
return 1;
} else {
puts("s != KEKE_NULL_SYMBOL\nTEST PASSED\n");
}
KekeSymbol t = keke_new_symbol();
if (s == t) {
puts("s == t\nTEST FAILED");
return 1;
} else {
puts("s != t\nTEST PASSED\n");
}
}