diff --git a/test/append-test-log.c b/test/append-test-log.c index a05244f..51d471e 100644 --- a/test/append-test-log.c +++ b/test/append-test-log.c @@ -20,15 +20,34 @@ */ #include +#include #include "../9unit.h" +#include "util.h" #include "append-test-log.h" +// Local Prototypes + +static void append_to_empty(TestState *); + // Public Functions void -test_append_test_log(TestState *) +test_append_test_log(TestState *s) { + print("append_test_log()\n"); + append_to_empty(s); +} + +// Local Functions + +static void +append_to_empty(TestState *) +{ + TestState test; + print("\tappend to empty\n"); + mk_sample_state(&test); + append_test_log(&test, "foo"); } //jl