public void SeriennumNotEmpty() { Assert.Catch(() => { var computer = new Notebooks("E751", 700, ""); }); }
public void SeriennumNotNULL() { Assert.Catch(() => { var computer = new Notebooks("E751", 700, null); }); }
public void ModellnummNotNULL() { Assert.Catch(() => { var computer = new Notebooks(null, 700, "SLN78"); }); }
public void N_PreisNotSmallerThanNULL() { Assert.Catch(() => { var computer = new Notebooks("E751", -700, "SLN78"); }); }
public void simpleTest() { var computer = new Notebooks("E751", 700, "SLN78"); Assert.IsTrue(computer.Modell == "E751"); Assert.IsTrue(computer.N_Preis == 700); Assert.IsTrue(computer.Seriennum == "SLN78"); }