public void UnBoundedEnsureWorldHasZeroCells() { UnboundedWorld instance = new UnboundedWorld(); int expected_number_of_cells = 0; int actual_number_of_cells = instance.CellCount(); Assert.AreEqual(expected_number_of_cells, actual_number_of_cells); }
public void UnboundedEnsureThereAreCells() { UnboundedWorld instance = new UnboundedWorld(); int x = 4; int y = 3; instance.AddCell(x,y); Assert.AreEqual(1, instance.CellCount()); }
public void UnboundedWorldEnsureTheWorldHasZeroCells() { // Arrange UnboundedWorld my_world = new UnboundedWorld(); // Act int expected_number_of_cells = 0; int actual_number_of_cells = my_world.CellCount(); // Assert Assert.AreEqual(expected_number_of_cells, actual_number_of_cells); }
public void UnboundedWorldEnsureThereAreCells() { // Arrange UnboundedWorld my_world = new UnboundedWorld(); // Act int x = 4; int y = 3; my_world.AddCell(x,y); // Assert Assert.AreEqual(1, my_world.CellCount()); }
public void UnboundedWorldEnsureTheWorldHasZeroCells() { /* Begin Arrange */ UnboundedWorld my_world = new UnboundedWorld(); /* End Arrange */ /* Begin Act */ int expected_number_of_cells = 0; int actual_number_of_cells = my_world.CellCount(); /* End Act */ /* Begin Assert */ Assert.AreEqual(expected_number_of_cells, actual_number_of_cells); /* End Assert */ }
public void UnboundedWorldEnsureThereAreCells() { /* Begin Arrange */ UnboundedWorld my_world = new UnboundedWorld(); /* End Arrange */ /* Begin Act */ int x = 4; int y = 3; my_world.AddCell(x,y); /* End Act */ /* Begin Assert */ Assert.AreEqual(1, my_world.CellCount()); /* End Assert */ }