public void CanAddCooledContainerToStack2()
        {
            MockStacks.PopulateStack7();
            bool actualValue = MockStacks.testStacks[7].CanAddContainerToStack(MockContainers.testContainers[5]);

            Assert.AreEqual(trueValue, actualValue);
        }
        public void CanAddCooledContainerToStack3()
        {
            MockStacks.PopulateStack8();
            bool actualValue = MockStacks.testStacks[8].CanAddContainerToStack(MockContainers.testContainers[3]);

            Assert.AreEqual(falseValue, actualValue);
        }
        public void CanAddValuableContainerToStack3()
        {
            MockStacks.PopulateStack5();
            bool actualValue = MockStacks.testStacks[5].CanAddContainerToStack(MockContainers.testContainers[8]);

            Assert.AreEqual(trueValue, actualValue);
        }
        public void CanAddValuableContainerToStack2()
        {
            MockStacks.PopulateStack4();
            bool actualValue = MockStacks.testStacks[4].CanAddContainerToStack(MockContainers.testContainers[6]);

            Assert.AreEqual(falseValue, actualValue);
        }
        public void CanAddNormalContainerToStack1()
        {
            MockStacks.PopulateStack1();
            bool actualValue = MockStacks.testStacks[1].CanAddContainerToStack(MockContainers.testContainers[9]);

            Assert.AreEqual(falseValue, actualValue);
        }
コード例 #6
0
        public void CountValuable3()
        {
            MockStacks.PopulateStack();
            bool actualValue = MockStacks.testStacks[0].CountValuable();

            Assert.AreEqual(trueValue, actualValue);
        }
コード例 #7
0
        public void CountValuable2()
        {
            MockStacks.PopulateStack9();
            bool actualValue = MockStacks.testStacks[9].CountValuable();

            Assert.AreEqual(falseValue, actualValue);
        }
コード例 #8
0
        public void RemoveContainer3()
        {
            MockStacks.PopulateStack1();
            container = MockStacks.testStacks[1].containerList[0];
            var removed = MockStacks.testStacks[1].RemoveContainer(container);

            //Assert
            Assert.AreEqual(trueValue, removed);
        }