public void CannotCallGetDecimalWithoutStringArgument() { Assert.Catch(() => { var x = new Divers_Logbook(1, 1, 2, "Dummy", 23).get_decimal(""); }); }
public void CannotCreateNewDiveWithNegativeDiveNumber() { Assert.Catch(() => { var x = new Divers_Logbook(-4, 1, 2, "Dummy", 23); }); }
public void CannotUpdateDiversLogbookWithNegativeDepth() { Assert.Catch(() => { var x = new Divers_Logbook(-1, 2, 2, "Dummy", 23); x.Update_Divers_Logbook(2, "Island_Update", -25); }); }
public void CannotUpdateDiversLogbookWithoutDiveLocation() { Assert.Catch(() => { var x = new Divers_Logbook(-1, 1, 2, "Dummy", 23); x.Update_Divers_Logbook(2, "", 25); }); }