From fcc5bec00324c4779edabe8048d3a12f7d37c3ab Mon Sep 17 00:00:00 2001 From: Mineplay Date: Tue, 20 Jan 2026 20:11:42 +0100 Subject: [PATCH] feat(tests): added unit-test list --- tests/main.c | 2 ++ tests/unit/unit.h | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 tests/unit/unit.h diff --git a/tests/main.c b/tests/main.c index 6bbf08d..8c548fa 100644 --- a/tests/main.c +++ b/tests/main.c @@ -6,7 +6,9 @@ * You may obtain a copy of the License in the file LICENSE or at * http://www.apache.org/licenses/LICENSE-2.0 */ +#include "unit/unit.h" int main(void) { + QNET_TEST_RUN(); return 0; } diff --git a/tests/unit/unit.h b/tests/unit/unit.h new file mode 100644 index 0000000..a4ff6d3 --- /dev/null +++ b/tests/unit/unit.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) Tristan Franssen, . + * + * This software is licensed under the Apache License, Version 2.0 (the "License"); + * You may not use this file except in compliance with the License. + * You may obtain a copy of the License in the file LICENSE or at + * http://www.apache.org/licenses/LICENSE-2.0 + */ +#ifndef QNET_UNIT +#define QNET_UNIT + +#include "test.h" + +QNET_TEST_START +QNET_TEST_END + +#endif /* QNET_UNIT */ \ No newline at end of file