Update README-dev.md with information about test files and remove redundant test_distribution_fix.py
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user