tests
Systems are glue; the logic is plain functions. So most of a mind is tested like any code: values in, values out, no world.
src/body/
├── odometry.system.rs
├── odometry.rs # Rust tests sit inside it, under #[cfg(test)]
└── tests/
└── imu.test.ts
| Language | Tests live | Written with |
|---|---|---|
| TypeScript | a tests/ folder beside the code | bun:test |
| Rust | in the file, under #[cfg(test)] | #[test] |
| Python | a tests/ folder beside the code | pytest |
bun test # runs all three
Generated types import as they do anywhere, so a test builds exactly the values a system would see.
What tests can't prove
A test proves the arithmetic, not the mind: that a belief arrives when it should, or that
the whole holds together over a minute of a real body. For that, run the mind and ask the
recording with axonl debug.