public void Initialize() { cat = new Cat("98765", new SimpleDate(8, 1, 2005), "Sven", "not reserved", ""); dog = new Dog("65432", new SimpleDate(6, 7, 2006), "Tristan", "not reserved", new SimpleDate(6, 10, 2015)); dog.SetPrice(); }
public void TestDogPrice200() { Dog dog2 = new Dog("21452", new SimpleDate(6, 7, 2005), "Tristan", "Reserved", new SimpleDate(6, 10, 2014)); dog2.SetPrice(); Assert.AreEqual(200, dog2.Price); }