Skip to content

Testing ​

Tests run through CTest inside Docker.

Full suite ​

bash
docker compose run --rm dev ctest --output-on-failure

Step gates ​

Use the -R regex from UPDATE_PLAN.md for the current step, then run the full suite before closing the step.

bash
docker compose run --rm dev ctest -R 'elm_ae|ml_elm|h_os_elm|golden_baseline' --output-on-failure
docker compose run --rm dev ctest --output-on-failure

Test groups ​

PrefixCoverage
sanityBasic build/runtime sanity
feature_mapMap interface, additive map, identity map
elm_cpuBatch ELM CPU behavior
solverBatch ridge solver stability
os_elmOnline sequential learning and forgetting
os_celmClass-distance constraint behavior
rbf_features, rbf_mapRBF utilities and map
elm_ae, ml_elm, h_os_elmLearned feature extraction
cuda_infra, elm_gpu, gpu_opsCUDA primitives; skip without GPU
dataset_ioDataset loader, preprocessing, drift stream
demo_apiDemo JSON helpers and benchmark snapshot loading
golden_baselineNumeric regression anchor

GPU tests ​

GPU tests must skip cleanly when no device is visible. CPU is the correctness reference for GPU comparisons.

Golden baseline ​

tests/test_golden_baseline.cpp records fixed-seed behavior. It is the anti-regression anchor for internal refactors.

Released under the MIT License.