Пример #1
0
        public void Test_SetPlats()
        {
            //Arrange
            Table    Table         = new Table(4, 4);
            String   Expected_Plat = "Pates";
            Commande CMD           = new Commande(Table, "Pizza");

            //Action
            CMD.SetPlats(Expected_Plat);

            //Assert
            Assert.AreEqual(Expected_Plat, CMD.GetPlats());
        }
Пример #2
0
        public void Test_GetPlats()
        {
            //Arrange
            Table    Table         = new Table(4, 4);
            String   Expected_Plat = "Pates";
            Commande CMD           = new Commande(Table, Expected_Plat);

            //Action
            String Actual_Plat = CMD.GetPlats();

            //Assert
            Assert.AreEqual(Expected_Plat, Actual_Plat);
        }