Exemplo n.º 1
0
        public void IsFreeTileFound_NothingInResult_ReturnsFalse()
        {
            //Arrange
            var result = new VisionResultTestTools(0, 0, 0).GetAsIVisionResult();

            //Act

            //Assert
            Assert.IsTrue(!result.IsEnemyFound);
        }
Exemplo n.º 2
0
        public void IsFreeTileFound_OneTileInResult_ReturnsTrue()
        {
            //Arrange
            var result = new VisionResultTestTools(1, 0, 0).GetAsIVisionResult();

            //Act

            //Assert
            Assert.IsTrue(result.IsFreeTileFound);
        }
Exemplo n.º 3
0
        public void IsAllyFound_OneAllyInResult_ReturnsTrue()
        {
            //Arrange
            var result = new VisionResultTestTools(0, 1, 0).GetAsIVisionResult();

            //Act

            //Assert
            Assert.IsTrue(result.IsAllyFound);
        }