コード例 #1
0
        public void Test_FredBoxDistributeMovie()
        {
            var title    = "My Second Movie";
            var expected = sut.GetMovies();

            sut.DistributeMovies(sut.MakeMovie(title));

            Assert.True(expected.Count() == sut.GetMovies().Count());
        }
コード例 #2
0
        public void Test_DistributeMovie()
        {
            var title    = "My Second Movie";
            var expected = sut.GetMovies();

            sut.DistributeMovies(sut.MakeMovie(title));
            var actual = sut.GetMovies();

            Assert.True(expected < actual.Count);
        }
コード例 #3
0
        public void Test_FredBoxDistributedMovie()
        {
            var title    = "my second movie";
            var expected = sut.GetMovie().Count();
            var movie    = sut.MakeMovie(title);

            sut.DistributeMovies(movie);
            var actual = sut.GetMovie().Count();

            Assert.True(expected < actual);
        }