Пример #1
0
        public void CreateSmartRobotTest()
        {
            //Arrange
            var expected = new SmartRobot(null)
            {
                DecodingProbability = 100, Carrying = 10
            };
            var robotCreator = new SmartRobotCreator();

            //Act
            var result = robotCreator.CreateRobot(null);

            //Assert
            expected.Should().BeEquivalentTo(result);
        }