#include #include "../src/ll.h" Node* head = NULL; // Run on every test void setup() { head = llnode(7); } // Run after every test void teardown() {} TestSuite(lltest, .init=setup, .fini=teardown); // Node Test(lltest, llnode) { int val = 17; head = llnode(val); cr_expect(head != NULL); cr_expect(head->value == val); } // Push Test(lltest,llpush) { int val = 12; llpush(&head,val); cr_expect(head->next != NULL); cr_expect(head->value == val); } // Pop // ... // Append // ... // Insert // ... // Remove // ... // Length // ... // Free // ...