예제 #1
0
        public void Check_if_can_add_container()
        {
            //add standard container
            TestLogic.AddContainer(30000, true, false, false);

            Assert.AreEqual(30000, TestLogic.WeightOfDockedContainers);
        }
예제 #2
0
 private void btnAddContainer_Click(object sender, EventArgs e)
 {
     logicServices.AddContainer(nbContainerWeight.Value, rbStandard.Checked, rbValuable.Checked, rbCooled.Checked);
     lbContainerUpdate();
 }