Ejemplo n.º 1
0
        public void Can_add_adventure()
        {
            // Arrange
            string path         = SystemIO.path;
            string newAdventure = DateTime.Now.ToString();

            string[] content = new[] { newAdventure };


            // Act
            SystemIO.AddAdventure(path, newAdventure);


            // Assert
            string[] actual = SystemIO.ViewAdventures(path);
            Assert.Contains(newAdventure, actual);
        }