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

            Assert.AreEqual(10000, testTruck.OilChangeMilage);
            testTruck.AddMilage(30000);
            testTruck.ChangeOil();
            Assert.AreEqual(40000, testTruck.OilChangeMilage);
        }