MetroCS / redistricting

Experimentation with geopolitical redistricting
GNU Affero General Public License v3.0
5 stars 75 forks source link

Add StarGeneratorTest.java #187

Closed jsachetti closed 2 years ago

jsachetti commented 2 years ago

Added StarGeneratorTest.java to src/metrocs/redistricting, tests StarGenerator.java with JUnit One method, generatePatternTest tests whether a null value is returned from the StarGenerator generatePattern method with inputs of 1 and 4, and tests if 2 patterns with same input are equal. Ant build successful and no checkstyle errors on our machines.

DanielShermanSchool commented 2 years ago

Updated class to remove ambiguous tests, we're focusing on having a test foundation with a simple testing method to interface with JUnit.

jody commented 2 years ago

No update in over 30 days. Changing status to draft.

If no further updates in the next 14 days or if new PR addresses issue will delete.