/// <summary> /// @param Commande /// </summary> public void AmenerSale(Commande Commande) { Table TableAServir = Commande.GetTable(); Clients ClientsAServir = TableAServir.GetClients(); ClientsAServir.SetServi(true); //Timer (gerer par winform) }
public void Test_GetTable() { //Arrange Table Expected_Table = new Table(4, 4); Commande CMD = new Commande(Expected_Table, "Pates"); //Action Table Actual_Table = CMD.GetTable(); //Assert Assert.AreEqual(Expected_Table, Actual_Table); }