public void Position46ReturnsE7() { PositionParser positionParser = new PositionParser(); Position thePosition = new Position(4, 6); string output = positionParser.BackParser(thePosition); output.Should().Be("E7"); }
public void Position99ReturnsJ10() { PositionParser positionParser = new PositionParser(); Position thePosition = new Position(9, 9); string output = positionParser.BackParser(thePosition); output.Should().Be("J10"); }
public void ReturnX() { PositionParser positionParser = new PositionParser(); Position thePosition = new Position(0, 0); string output = positionParser.BackParser(thePosition); string i = output[0].ToString(); i.Should().Be("A"); }
public void ReturnNotNull() { PositionParser positionParser = new PositionParser(); Position thePosition = new Position(0, 0); var output = positionParser.BackParser(thePosition); bool result; if (output != null) { result = true; } else { result = false; } result.Should().Be(true); }