PatchworkOS  69292a3
A non-POSIX operating system.
Loading...
Searching...
No Matches
test.h File Reference
#include <kernel/log/log.h>
#include <kernel/sched/clock.h>
#include <time.h>
Include dependency graph for test.h:

Go to the source code of this file.

Data Structures

struct  test_t
 Structure representing a test case. More...
 

Macros

#define TEST_ALL()
 Run all registered tests in the ._tests section.
 
#define TEST_DEFINE(_name)
 Define a test function to be run by TEST_ALL().
 
#define TEST_ASSERT(cond)
 Assert a condition in a test.
 

Typedefs

typedef uint64_t(* test_func_t) (void)
 Type of a test function.