21 lines
277 B
C
21 lines
277 B
C
/*
|
|
* 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();
|
|
}
|