Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public TestCar()
 {
     _car   = new Calculations.Car();
     _truck = new Calculations.Truck();
 }