-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Issue: Lack of Tests for Simulation and Ising Model
Description
The project currently lacks unit and integration tests, making it difficult to ensure correctness and prevent regressions.
Proposed Tests
-
Unit Tests for
ising_model- Verify correct initialization (lattice size, values).
- Test energy computation and Metropolis-Hastings updates.
- Ensure temperature and grid size updates work as expected.
-
Integration Tests for
simulator- Check if the simulation runs correctly for multiple steps.
- Validate energy evolution at different temperatures.
- Ensure stopping and resuming work properly.
-
Performance Tests
- Benchmark execution time for different grid sizes.
- Profile memory usage for large simulations.
Adding these tests will improve reliability and maintainability
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request