public void TestKøretøjBil() { Bil b1 = new Bil(); var result = b1.KøretøjType(); Assert.AreEqual("Bil", result); }
public void BilKøretøjTest() { //Arrange Bil bil = new Bil(); //Act string køretøj = "Øresund Bil"; //Assert Assert.AreEqual(bil.KøretøjType(), køretøj); }
public void KøretøjTest() { // Arrange var køretøj = new Bil("234", true, new DateTime(2017, 08, 29), true, true); // Act string køretøjslags = køretøj.KøretøjType(); // Assert Assert.AreEqual("Bil", køretøjslags); }
public void TestForKøretøj() { // arrage Bil Toyota = new Bil(); // act string køretøj = Toyota.KøretøjType(); // assert Assert.AreEqual("Bil", køretøj); }