aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/cyn/log.c5
-rw-r--r--tests/hello_world.c7
-rw-r--r--tests/un/allocs.c (renamed from tests/allocs.c)0
-rw-r--r--tests/un/lists.c (renamed from tests/lists.c)0
-rw-r--r--tests/un/memctl.c (renamed from tests/memctl.c)0
-rw-r--r--tests/un/strings.c (renamed from tests/strings.c)0
6 files changed, 5 insertions, 7 deletions
diff --git a/tests/cyn/log.c b/tests/cyn/log.c
new file mode 100644
index 0000000..a6b0643
--- /dev/null
+++ b/tests/cyn/log.c
@@ -0,0 +1,5 @@
+#include <cynic.h>
+
+int main(void) {
+ cyn_log_write(UN_LOG_INFO, UN_STR("Hello %u %d %s!"), (u64)100, (s64)-400, UN_STR("World"));
+}
diff --git a/tests/hello_world.c b/tests/hello_world.c
deleted file mode 100644
index 78f6c29..0000000
--- a/tests/hello_world.c
+++ /dev/null
@@ -1,7 +0,0 @@
-#include <ungrateful.h>
-
-int main(void) {
- un_log_write(UN_LOG_INFO, un_string_from_cstring(UN_CSTR "Hello world!"));
-
- return 0;
-}
diff --git a/tests/allocs.c b/tests/un/allocs.c
index 608d9f4..608d9f4 100644
--- a/tests/allocs.c
+++ b/tests/un/allocs.c
diff --git a/tests/lists.c b/tests/un/lists.c
index a8627ac..a8627ac 100644
--- a/tests/lists.c
+++ b/tests/un/lists.c
diff --git a/tests/memctl.c b/tests/un/memctl.c
index 1614442..1614442 100644
--- a/tests/memctl.c
+++ b/tests/un/memctl.c
diff --git a/tests/strings.c b/tests/un/strings.c
index d49d525..d49d525 100644
--- a/tests/strings.c
+++ b/tests/un/strings.c