public void TestHP(int HP, string dt, int newHP) { DateTime dt1 = Convert.ToDateTime(dt); _car = new Calculations.Car(HP, dt1); var result = _car.HPCalc(); Assert.AreEqual(result, newHP); }
public TestCar() { _car = new Calculations.Car(); _truck = new Calculations.Truck(); }