From f90d5e1f07fdc9dea7c24b11107049b613a5be7a Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Sun, 29 Jan 2023 22:22:54 +0100 Subject: More tests and documentation Also improve find file and switch buffer a bit. Implement word backward/forward. --- test/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'test/main.c') diff --git a/test/main.c b/test/main.c index 68241f9..7663f8f 100644 --- a/test/main.c +++ b/test/main.c @@ -4,7 +4,6 @@ #include #include -#include "bits/time.h" #include "test.h" void handle_abort() { exit(1); } @@ -31,6 +30,12 @@ int main() { printf("\nšŸ“  \x1b[1;36mRunning keyboard tests...\x1b[0m\n"); run_keyboard_tests(); + printf("\nšŸ’¾ \x1b[1;36mRunning allocator tests...\x1b[0m\n"); + run_allocator_tests(); + + printf("\n🐜 \x1b[1;36mRunning minibuffer tests...\x1b[0m\n"); + run_minibuffer_tests(); + struct timespec elapsed; clock_gettime(CLOCK_MONOTONIC, &elapsed); uint64_t elapsed_nanos = -- cgit v1.2.3