test: added tests for clear

This commit is contained in:
2026-04-18 19:22:17 -06:00
parent 2d66b35e0e
commit 532a84fa8f
3 changed files with 49 additions and 3 deletions

View File

@@ -7,6 +7,11 @@
typedef struct ArrayList ArrayList;
// FUCK, i forgot one of the main reasons i wanted to
// implement arrays myself was because i needed
// array slices or something like this and i completely
// forgot, fuck, guess i will implement it once i get
// the tests done.
typedef struct {
ArrayList *array;
size_t offset;