From eb4056107487b124f71c3c76e75de161a80a87eb Mon Sep 17 00:00:00 2001 From: masterexplorer Date: Mon, 7 Oct 2024 10:32:52 +0200 Subject: [PATCH] simplest test --- main.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/main.cpp b/main.cpp index aef2ee9..5b12090 100644 --- a/main.cpp +++ b/main.cpp @@ -1,8 +1,16 @@ #include +#include #include "amap.h" #include "simap.h" +void test_basics(amap mapdo, void *map) { + assert(NULL == mapdo(map, AMAP_GET, "asdf", NULL)); +} int main() { + /* test simap */ + simap_instance si = simap_create(); + test_basics(simap, &si); + return 0; }