mccu/test.c

14 lines
239 B
C
Raw Normal View History

2025-01-29 21:21:18 +00:00
#include <mcutil/test.h>
2025-01-28 21:42:26 +00:00
#include <stdio.h>
#include <stdlib.h>
int main(void) {
int a = 1;
mcu_result_t good = Ok(&a);
mcu_result_t bad = Err("Owo?");
mcu_result_unwrap(good);
mcu_result_unwrap(bad);
return 0;
}