Testing Invasion Percolation

This post originally appeared on the Software Carpentry website.

Finally, after all that refactoring, we get to test our invasion percolation program—although in fact, we spend more time discussing how to structure testing code than we do actually testing.

  1. Introduction
  2. The Grid
  3. Aliasing
  4. Randomness
  5. Finding Neighbors
  6. Resolving Ties
  7. Assembling the Program
  8. Bugs
  9. Refactoring
  10. Testing

Dialogue & Discussion

Comments must follow our Code of Conduct.

Edit this page on Github