public void Tabletop_InitialInputInGrid_IsValidPosition() { var tabletop = new ToyTabletop(5, 5); var result = tabletop.IsValidPosition(5, 5); Assert.True(result); }
public void Tabletop_NegativeYInitialInput_IsValidPosition() { var tabletop = new ToyTabletop(5, 5); var result = tabletop.IsValidPosition(5, -1); Assert.False(result); }
public void Tabletop_InitialInputOuterGrid_IsNotValidPosition() { var tabletop = new ToyTabletop(5, 5); var result = tabletop.IsValidPosition(6, 6); Assert.False(result); }