CDMA Source Testing
Run the native reference suite from the repository root:
make -C cdma/build all
make -C cdma/build test
When a SLeeLa compiler/runtime is available, parse and run all package sources and examples/CDMADemo.sleela using that build's documented CLI.
Behavioral Invariants
- Invalid channel direction is rejected.
- Negative or oversized frame payloads are rejected.
- Link-budget calculations reject invalid loss/gain inputs.
- Power-control output stays within configured bounds.
- Handoff cannot complete until target preparation and readiness succeed.
- Sessions cannot activate before registration.
- Network admission stops at capacity.
- Scheduler rejects invalid or over-capacity requests.
- Recovery stops at the retry limit.
- Empty metrics return a safe ratio without division by zero.
These models are educational foundations. Passing tests does not establish 3GPP/3GPP2 conformance, RF certification, security review, or carrier acceptance.