Exemple #1
0
        public void PlayerNames_LoadsCorrectly_FromFile()
        {
            // Arrange
            gameSimulation = new GameSimulation();
            List <string> expected = new List <string>()
            {
                "Paweł Kowalski", "Krzysztof Król", "Izabela Kania"
            };
            // Act
            var actual = gameSimulation.GetAllPlayersNames(pathToTestFile);

            // Assert
            Assert.IsTrue(expected.SequenceEqual(actual));
        }