Commit 9052cc8

mo khan <mo@mokhan.ca>
2014-10-26 21:44:38
fix one failing spec.
1 parent 5825d81
Changed files (1)
gol_test.c
@@ -43,7 +43,7 @@ static char* it_returns_the_correct_number_of_living_neighbors() {
     { ' ', ' ', ' ' },
   };
   assert_equal(living_neighbours_for(world, 0, 0) == 0, "should return 0");
-  assert_equal(living_neighbours_for(world, 0, 1) == 2, "should return 2");
+  assert_equal(living_neighbours_for(world, 1, 0) == 2, "should return 2");
   assert_equal(living_neighbours_for(world, 0, 2) == 0, "should return 0");
   return 0;
 }