summaryrefslogtreecommitdiff
path: root/test/main.c
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-01-29 22:22:54 +0100
committerAlbert Cervin <albert@acervin.com>2023-01-29 22:22:54 +0100
commitf90d5e1f07fdc9dea7c24b11107049b613a5be7a (patch)
treed4e3ba84f198738fd68f225b2d03f34b2653acb1 /test/main.c
parent94278ec39b08b4085fa920f870261eb7639baa6b (diff)
downloaddged-f90d5e1f07fdc9dea7c24b11107049b613a5be7a.tar.gz
dged-f90d5e1f07fdc9dea7c24b11107049b613a5be7a.tar.xz
dged-f90d5e1f07fdc9dea7c24b11107049b613a5be7a.zip
More tests and documentation
Also improve find file and switch buffer a bit. Implement word backward/forward.
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c7
1 files changed, 6 insertions, 1 deletions
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 <stdlib.h>
#include <time.h>
-#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 =