예제 #1
0
        public void PosNeg(int a, int b, bool negative, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.PosNeg(a, b, negative);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #2
0
        public void RemoveDel(string str, string Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            string result = WarmUp.RemoveDel(str);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #3
0
        public void NearHundred(int n, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.NearHundred(n);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #4
0
        public void ParrotTrouble(bool isTalking, int hour, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.ParrotTrouble(isTalking, hour);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #5
0
        public void Multiple3or5(int number, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.Multiple3or5(number);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #6
0
        public void AreWeInTrouble(bool aSmile, bool bSmile, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.AreWeInTrouble(aSmile, bSmile);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #7
0
        public void Max(int a, int b, int c, int Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            int result = WarmUp.Max(a, b, c);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #8
0
        public void MissingChar(string str, int n, string Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            string result = WarmUp.MissingChar(str, n);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #9
0
        public void Makes10(int a, int b, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.Makes10(a, b);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #10
0
        public void IxStart(string str, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.IxStart(str);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #11
0
        public void IcyHot(int temp1, int temp2, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.IcyHot(temp1, temp2);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #12
0
        public void Diff21(int n, int Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            int result = WarmUp.Diff21(n);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
예제 #13
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool Expected)
        {
            //arrange instantiating objects
            ConditionalWarmups WarmUp = new ConditionalWarmups();

            //act Method
            bool result = WarmUp.CanSleepIn(isWeekday, isVacation);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }