public void CannotUpdateDiversLogbookWithNegativeDepth() { Assert.Catch(() => { var x = new Divers_Logbook(1, "Hawaii", 27, Dive_Type.Oxygen_Dive); x.Update_Dive(4, "Hawaii", -27, Dive_Type.Oxygen_Dive); }); }
public void CannotUpdateDiversLogbookWithoutDiveLocation() { Assert.Catch(() => { var x = new Divers_Logbook(1, "Hawaii", 27, Dive_Type.Oxygen_Dive); x.Update_Dive(4, "", 27, Dive_Type.Oxygen_Dive); }); }