![]() | Fun 0.41.5 The programming language that makes You have fun |
Minimal bytecode-level test harness for core VM operations. More...

Go to the source code of this file.
Macros | |
| #define | ASSERT_EQ(val, expected) |
| Assert that a Value is an integer equal to the expected number. | |
Functions | |
| int | main (void) |
| Build and execute a demo bytecode program and print results. | |
Minimal bytecode-level test harness for core VM operations.
Definition in file fun_test.c.
| #define ASSERT_EQ | ( | val, | |
| expected ) |
Assert that a Value is an integer equal to the expected number.
Prints a diagnostic and returns 1 from main on failure; used in quick sanity checks when extending this test harness.
Definition at line 27 of file fun_test.c.
| int main | ( | void | ) |
Build and execute a demo bytecode program and print results.
Exercises arithmetic, comparisons, logic, stack ops, rounding and transcendental functions, integer math helpers, and fmin/fmax semantics. Intended for manual inspection rather than strict unit testing.
Definition at line 44 of file fun_test.c.
