示例#1
0
文件: MovieTests.cs 项目: Sivsu/Abcam
 public void Ensure_that_a_new_childs_movie_has_new_and_childrens_in_its_display_name()
 {
     var model = new Movie("A new childs movie", true, true);
     Assert.AreEqual("A new childs movie *new *childrens", model.GetDisplayName());
 }
示例#2
0
文件: MovieTests.cs 项目: Sivsu/Abcam
 public void EnsureThatIfAMovieIsNewItsDisplayNameHasNewAppended()
 {
     var model = new Movie("Jaws", true);
     Assert.AreEqual("Jaws *new", model.GetDisplayName());
 }
示例#3
0
文件: MovieTests.cs 项目: Sivsu/Abcam
 public void Ensure_that_a_childs_movie_has_Childrens_in_its_display_name()
 {
     var model = new Movie("A childs movie", false, true);
     Assert.AreEqual("A childs movie *childrens", model.GetDisplayName());
 }
示例#4
0
文件: MovieTests.cs 项目: Sivsu/Abcam
 public void EnsureThatIfAMoveIsNotNewItsDisplayNameIsItsTitle()
 {
     var model = new Movie("Jaws", false);
     Assert.AreEqual(model.Title, model.GetDisplayName());
 }