예제 #1
0
        public void CheckStackAmountInRowFalse()
        {
            //Arrange
            Container container = new Container(0, 1000);
            Stack     stack     = new Stack();
            Row       row       = new Row();

            stack.ByAddingContainer(container);
            row.AddStack(stack);
            row.AddStack(stack);
            //Act
            bool value = row.GetNumberStacks() == 1;

            //Assert
            Assert.IsFalse(value);
        }
예제 #2
0
        public void CheckRowWeightInStacksFalse()
        {
            //Arrange
            Container container = new Container(0, 1000);
            Stack     stack     = new Stack();
            Row       row       = new Row();

            stack.ByAddingContainer(container);
            row.AddStack(stack);

            //Act
            bool value = row.GetRowWeight() == 2000;

            //Assert
            Assert.IsFalse(value);
        }