public void TestJeuCafePlus() { var tmp = Armoire.GetInstance().GetJeuCafe(); Armoire.GetInstance().SetJeuCafe(5); Assert.AreEqual(Armoire.GetInstance().GetJeuCafe(), tmp + 5, "Cofe sets does not increment"); }
public void TestServiettesPlus() { var tmp = Armoire.GetInstance().GetServiettes(); Armoire.GetInstance().SetServiettes(5); Assert.AreEqual(Armoire.GetInstance().GetServiettes(), tmp + 5, "Towels does not increment"); }
public void TestJeuCafeMoin() { var tmp = Armoire.GetInstance().GetJeuCafe(); Armoire.GetInstance().SetJeuCafe(-5); Assert.AreEqual(Armoire.GetInstance().GetJeuCafe(), tmp - 5, "Cofe sets does not decrement"); }
public void TestVerresPlus() { var tmp = Armoire.GetInstance().GetVerres(); Armoire.GetInstance().SetVerres(5); Assert.AreEqual(Armoire.GetInstance().GetVerres(), tmp + 5, "Glasses does not increment"); }
public void TestVerresMoin() { var tmp = Armoire.GetInstance().GetVerres(); Armoire.GetInstance().SetVerres(-5); Assert.AreEqual(Armoire.GetInstance().GetVerres(), tmp - 5, "Glasses does not decrement"); }
public void TestCouvertsMoin() { var tmp = Armoire.GetInstance().GetCouverts(); Armoire.GetInstance().SetCouverts(-5); Assert.AreEqual(Armoire.GetInstance().GetCouverts(), tmp - 5, "Couverts does not decrement"); }
public void TestCouvertsPlus() { var tmp = Armoire.GetInstance().GetCouverts(); Armoire.GetInstance().SetCouverts(5); Assert.AreEqual(Armoire.GetInstance().GetCouverts(), tmp + 5, "Couverts does not increment"); }
public void TestAssiettesMoin() { var tmp = Armoire.GetInstance().GetAssiettes(); Armoire.GetInstance().SetAssiettes(-5); Assert.AreEqual(Armoire.GetInstance().GetAssiettes(), tmp - 5, "Plates does not decrement"); }
public void TestNapesMoin() { var tmp = Armoire.GetInstance().GetNapes(); Armoire.GetInstance().SetNapes(-5); Assert.AreEqual(Armoire.GetInstance().GetNapes(), tmp - 5, "Tablecloth does not decrement"); }
public void TestNapesPlus() { var tmp = Armoire.GetInstance().GetNapes(); Armoire.GetInstance().SetNapes(5); Assert.AreEqual(Armoire.GetInstance().GetNapes(), tmp + 5, "Tablecloth does not increment"); }
public void TestSingletonCuisine() { Assert.AreEqual(Armoire.GetInstance(5, 5, 5, 5, 5, 5), Armoire.GetInstance(), "Armoire is not a singleton"); }