예제 #1
0
        public void ChangeTiresTest()
        {
            Truck testTruck = new Truck("testMake");

            testTruck.AddMilage(5000);
            testTruck.ChangeTires();

            for (int i = 0; i < 18; i++)
            {
                Assert.AreEqual(0, testTruck.Tires[i].Milage);
            }
        }