Пример #1
0
 public void CannotUpdateDiversLogbookWithNegativeDepth()
 {
     Assert.Catch(() =>
     {
         var x = new Divers_Logbook(-1, 2, 2, "Dummy", 23);
         x.Update_Divers_Logbook(2, "Island_Update", -25);
     });
 }
Пример #2
0
 public void CannotUpdateDiversLogbookWithoutDiveLocation()
 {
     Assert.Catch(() =>
     {
         var x = new Divers_Logbook(-1, 1, 2, "Dummy", 23);
         x.Update_Divers_Logbook(2, "", 25);
     });
 }