public void Verify_in_3_by_3()
 {
     size     = 3;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 0));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 1));
 }
 public void Verify_that_centermost_cells_in_6_by_6_grid_cannot_change()
 {
     size = 6;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 3));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 3));
 }
 public void Verify_in_3_by_3()
 {
     size = 3;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 0));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 1));
 }
 public void Verify_that_centermost_cells_in_6_by_6_grid_cannot_change()
 {
     size     = 6;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(2, 3));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 3));
 }
 public void Verify_in_4_by_4()
 {
     size     = 4;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 0));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 3));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 2));
 }
 public void Verify_in_4_by_4()
 {
     size = 4;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 2));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 0));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 3));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 1));
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(3, 2));
 }
 public void Verify_top_left()
 {
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(0, 0));
 }
 public void Verify_that_centermost_cell_in_3_by_3_grid_cannot_change()
 {
     size = 3;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 1));
 }
 public void Verify_that_centermost_cell_in_3_by_3_grid_cannot_change()
 {
     size     = 3;
     hotPlate = new HotPlate(size);
     Assert.AreEqual(expected, hotPlate.CanCellValueChange(1, 1));
 }