Beispiel #1
0
        public void AddContainerBelowValuableWhenExistsTest_AddValuableNextToValuable_ShouldReturnFalse()
        {
            //Arrange
            bool expected = false;

            Row row = new Row();

            row.Initialize(0, 2);


            Stack        stack  = new Stack(0);
            List <Stack> stacks = new List <Stack>();

            stacks.Add(stack);
            stacks.Add(stack);
            stack.TryAddContainer(new ContainerValuable(4000));

            //Act
            bool actual = row.AddContainerBelowValuableWhenExists(new ContainerValuable(4000), stacks);

            //Assert
            Assert.AreEqual(expected, actual);
        }