From a1c47136cfafcb42674f670c5da7763bf6493802 Mon Sep 17 00:00:00 2001 From: Markus Busche Date: Tue, 26 Aug 2025 09:40:33 +0000 Subject: [PATCH] Update README-dev.md with information about test files and remove redundant test_distribution_fix.py --- README-dev.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README-dev.md b/README-dev.md index cb3d83e..79dea99 100644 --- a/README-dev.md +++ b/README-dev.md @@ -49,6 +49,26 @@ If you encounter port conflicts: docker-compose down ``` +## Testing + +The project includes several test scripts to verify functionality: + +1. **[test_core.py](file:///home/ubuntu/capitalism-eats-the-world/test_core.py)** - Tests core functionality including Markov chains, economic agents, and simulations +2. **[test_charts.py](file:///home/ubuntu/capitalism-eats-the-world/test_charts.py)** - Tests charting functionality through the web API +3. **[test_simulation.json](file:///home/ubuntu/capitalism-eats-the-world/test_simulation.json)** - Sample parameters for testing + +To run the core tests: +```bash +docker-compose -f docker-compose-dev.yml up -d +python test_core.py +``` + +To run the chart tests: +```bash +docker-compose -f docker-compose-dev.yml up -d +python test_charts.py +``` + ## Testing the Wealth Distribution Fix The recent fix for the wealth distribution histogram ensures that: