public void KøretøjTest() { var bil = new Bil(); string result = bil.Køretøj(); Assert.AreEqual(result, "Bil"); }
public void BilKøretøjTest() { Bil bil = new Bil("45", new DateTime(1990, 3, 12), false); string result = bil.Køretøj(); Assert.AreEqual("Bil", result); }
public void BilKøretøjTest() { Bil bil = new Bil(); string result = bil.Køretøj(); Assert.AreEqual("Bil", result); }
public void BilKøretøjMetodeTest() { var bil = new Bil(); string køretøj = bil.Køretøj(); Assert.AreEqual("Bil", køretøj); }
public void BilKøretøj() { //Arange var bil = new Bil(); //Act string køretøj = bil.Køretøj(); //Assert Assert.AreEqual("Bil", køretøj); }
public void TestMethodKøretøj() { Bil b = new Bil(); var actuallResult = b.Køretøj(); const string expectedResult = "Bil"; Assert.AreEqual(expectedResult, actuallResult, "Test failed! The actual result is not the same as the expected result"); }
public void TestKøretøj() { //Arrange Bil b = new Bil(); // opretter objekttet bil //Act string kT = b.Køretøj(); // metoden string //Assert Assert.AreEqual("Bil", kT); //stringen skal give det forventet resultat "Bil" af metoden kT }
public void KøretøjBilTest() { //Arrange Bil bil = new Bil(); //Act string køretøj = bil.Køretøj(); //Assert Assert.AreEqual("bil", køretøj); }
public void Køretøj() { //Arrange var bil = new Bil(); //Act string køretøj = "Øresund Bil"; //Assert Assert.AreSame(køretøj, bil.Køretøj()); }
public void TestBilKøretøj() { //ARRANGE Bil bil = new Bil(); //ACT string køretøj = bil.Køretøj(); //ASSERT Assert.AreEqual("Bil", køretøj); }
public void BilKøretøj() { //Arrange var bil = new Bil(); //Act //Assert Assert.AreEqual("Bil", bil.Køretøj()); }
public void TestBilName() { // Arrange Bil bil = new Bil("1234", DateTime.Now); // Act string name = bil.Køretøj(); // Assert Assert.AreEqual("Bil", name); }
public void BilKøretøjtester() { // Arrange Bil biltest = new Bil(); // Act var result = biltest.Køretøj(); // Assert Assert.AreEqual("Bil", result); }
public void KøretøjForBilTest() { // Arrange Bil b4 = new Bil("12345", new DateTime(2018, 2, 1), false, false); string expectedResult = "Bil"; // Act var actualResult = b4.Køretøj(); // Assert Assert.AreEqual(expectedResult, actualResult); }
public void RigtigKøretøj() { Assert.AreEqual("Bil", _nyBil.Køretøj()); }
public string GetBil() { return(bil2.Køretøj()); }