added find, more tests

This commit is contained in:
2026-08-18 09:08:01 -05:00
parent 0ee2fe8874
commit a1862f54c1
9 changed files with 69 additions and 19 deletions
+20
View File
@@ -0,0 +1,20 @@
#include <stdio.h>
#include "libkeke_symbol.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");
}
}