Ejemplo n.º 1
0
        public void BrokenCondition()
        {
            Bike bike = new Bike();

            bike.ConditionBroken();
            Assert.AreEqual("Broken", bike.GetCondition());
        }
Ejemplo n.º 2
0
        public void WorkingCondition()
        {
            Bike bike = new Bike();

            bike.ConditionBroken();
            Assert.AreEqual("Broken", bike.GetCondition());
            bike.ConditionWorking();
            Assert.AreEqual("Working", bike.GetCondition());
        }