Create project skeleton

This commit is contained in:
2024-12-25 18:08:50 +00:00
commit 21cf170b5a
8 changed files with 137 additions and 0 deletions

20
tests/foo_tests.c Normal file
View File

@@ -0,0 +1,20 @@
/*
* Copyright (c) Camden Dixie O'Brien
* SPDX-License-Identifier: AGPL-3.0-only
*/
#include "foo.h"
#include "testing.h"
static void test_foo(void)
{
const int res = foo();
ASSERT_EQ(42, res);
}
int main(void)
{
TESTING_BEGIN();
test_foo();
return TESTING_END();
}