public void ConvertSquareToPosition_CheckPosition(int testValue, Position expected) { // Arrange DualConverter converter = new DualConverter(); // Act var actual = converter.ConvertSquareToPosition(testValue); // Assert expected.Should().BeEquivalentTo(actual); }
public void ConvertPositionToSquare_CheckSquare(Position testValue, int expected) { // Arrange DualConverter converter = new DualConverter(); // Act var actual = converter.ConvertPositionToSquare(testValue); // Assert Assert.Equal(expected, actual); }