public void Test_FredBoxDistributeMovie() { var title = "My Second Movie"; var expected = sut.GetMovies(); sut.DistributeMovie(sut.MakeMovie(title)); Assert.True(expected.Count() < sut.GetMovies().Count()); }
public void Test_FredBoxDistributeMovie() { var title = "My Second Movie"; //sut.DistributeMovie(sut.MakeMovie("My Second Movie")); var expected = sut.GetMovies().Count(); //see what movies i currently have //Movie actual; sut.DistributeMovie(sut.MakeMovie(title)); //DistruibuteMovie should put MakeMovie put stuff into GetMovies //var actuak = sut.GetMovies(); just put it in next line w/o actuak //Assert.True(expected.Count() < sut.GetMovies().Count()); //expected is a reference Assert.True(expected < sut.GetMovies().Count()); //expected is an actual value now //what are we trying to do? }