Ejemplo n.º 1
0
        public void MovieSetTesting()
        {
            string exspectedMovieName = "Fight Club";

            testings.setUserMovieTitle(exspectedMovieName);

            string actual = testings.getUserMovieTitle();

            Assert.AreEqual(exspectedMovieName, actual, "Testing movie name succesful");
        }
Ejemplo n.º 2
0
        public void getUserMovieTitleTest()
        {
            String exspectedMovieName = "Fight Club";

            ReadAndWriteLines testingObject = new ReadAndWriteLines();

            testingObject.setUserMovieTitle(exspectedMovieName);

            String actualMovieName = testingObject.getUserMovieTitle();

            Assert.AreEqual(exspectedMovieName, actualMovieName, "The movie title has been correctly set");
        }