예제 #1
0
        public void AddContainerToRowTest_AddContainerToRow_ShouldReturnTrue()
        {
            //Arrange
            bool expected = true;
            bool actual   = false;
            Row  row      = new Row();

            row.Initialize(0, 2);
            Container container = new Container(4000);

            //Act
            row.AddContainerToRow(container);

            //Assert
            if (row.GetStacks()[0].GetContainers()[0] == container)
            {
                actual = true;
            }

            Assert.AreEqual(expected, actual);
        }