コード例 #1
0
        public void CheckWeightTest_LimitNumber0_ReturnFalse()
        {
            DataValidation dataValidation = new DataValidation();
            bool           factResult;
            int            number = 0;

            factResult = dataValidation.CheckWeight(number);
            Assert.IsFalse(factResult);
        }
コード例 #2
0
        public void CheckWeightTest_EquivalentNumber59_ReturnFalse()
        {
            DataValidation dataValidation = new DataValidation();
            bool           factResult;
            int            number = 59;

            factResult = dataValidation.CheckWeight(number);
            Assert.IsFalse(factResult);
        }
コード例 #3
0
        public void CheckWeightTest_EquivalentNumber32_ReturnTrue()
        {
            DataValidation dataValidation = new DataValidation();
            bool           factResult;
            int            number = 32;

            factResult = dataValidation.CheckWeight(number);
            Assert.IsTrue(factResult);
        }