Esempio n. 1
0
        public void TestReviewerDateAtSameGrade()
        {
            MovieProgram movieProgram = new MovieProgram("MovieReviewEASV/Test.json");

            Assert.AreEqual(2, movieProgram.GetReviewersFromMovie(822109).ElementAt(1));
        }
Esempio n. 2
0
        public void TestLowestReviewerOfMovie()
        {
            MovieProgram movieProgram = new MovieProgram("MovieReviewEASV/Test.json");

            Assert.AreEqual(1, movieProgram.GetReviewersFromMovie(822109).Last());
        }
Esempio n. 3
0
        public void TestHighestReviewerByMovie()
        {
            MovieProgram movieProgram = new MovieProgram("MovieReviewEASV/Test.json");

            Assert.AreEqual(1, movieProgram.GetReviewersFromMovie(822109).First());
        }