public void IsDirectlyAbove_WhenOtherHasDifferentIdAndIsNotAbove_ShouldReturnFalse() { //Arrange var entityOne = new EntityOnTheBoard(0, 1, 0); var entityAbove = new EntityOnTheBoard(1, 2, 3); //Act var isAbove = entityAbove.IsDirectlyAbove(entityOne); //Assert isAbove.Should().BeFalse(); }
public void IsDirectlyAbove_WhenOtherHasSameId_ShouldReturnFalse() { //Arrange var sameId = 0; var entityOne = new EntityOnTheBoard(sameId, 1, 0); var entityAbove = new EntityOnTheBoard(sameId, 1, 1); //Act var isAbove = entityAbove.IsDirectlyAbove(entityOne); //Assert isAbove.Should().BeFalse(); }