public void TestGetFuelCapacity() { var vehicle = new core.Car(1, 50, "Description"); Assert.That(vehicle.GetFuelCapacity(), Is.EqualTo(50)); }
public void TestGetId() { var vehicle = new core.Car(1, 50, "Description"); Assert.That(vehicle.GetId(), Is.EqualTo(1)); }
public void TestDrive() { var car = new core.Car(0, 0, "car"); Assert.That(driver.Drive(car), Is.EqualTo("Name drives car")); }