Files
crafting-interpreters/challenges/01-intro-challenges/c-env/main.c
2022-09-02 21:57:44 +02:00

19 lines
273 B
C

#include <stdio.h>
#include "linked_list.h"
#include <assert.h>
int main()
{
List *l = InitList();
Insert(l, "one");
Insert(l, "two");
Insert(l, "three");
int f = Find(l, "two");
assert(f > 0);
int f = Find(l, "four");
assert(f == 0);
}