Wrote tests for Toy_Table

I hope that's it, I don't wanna do that again XD
This commit is contained in:
2024-10-04 16:50:54 +10:00
parent 5cf2e70b7d
commit 196b5f86f1
6 changed files with 759 additions and 73 deletions

View File

@@ -23,5 +23,5 @@ typedef struct Toy_Table { //32 | 64 BITNESS
TOY_API Toy_Table* Toy_allocateTable();
TOY_API void Toy_freeTable(Toy_Table* table);
TOY_API void Toy_insertTable(Toy_Table** table, Toy_Value key, Toy_Value value);
TOY_API Toy_Value Toy_lookupTableValue(Toy_Table** table, Toy_Value key);
TOY_API void Toy_removeTableEntry(Toy_Table** table, Toy_Value key);
TOY_API Toy_Value Toy_lookupTable(Toy_Table** table, Toy_Value key);
TOY_API void Toy_removeTable(Toy_Table** table, Toy_Value key);