Beispiel #1
0
        public void AnswerCell(bool isMorning, bool isMom, bool isAsleep, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            bool result = WarmUp.AnswerCell(isMorning, isMom, isAsleep);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #2
0
        public void AreInOrder(int a, int b, int c, bool bOk, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            bool result = WarmUp.AreInOrder(a, b, c, bOk);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #3
0
        public void AlarmClock(int day, bool vacation, string Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            string result = WarmUp.AlarmClock(day, vacation);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #4
0
        public void PlayOutside(int temp, bool isSummer, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            bool result = WarmUp.PlayOutside(temp, isSummer);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #5
0
        public void Mod35(int n, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

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

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #6
0
        public void LoveSix(int a, int b, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

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

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #7
0
        public void InRange(int n, bool outsideMode, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            bool result = WarmUp.InRange(n, outsideMode);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #8
0
        public void GreatParty(int cigars, bool isWeekend, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            bool result = WarmUp.GreatParty(cigars, isWeekend);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #9
0
        public void CaughtSpeeding(int speed, bool isBirthday, int Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            int result = WarmUp.CaughtSpeeding(speed, isBirthday);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #10
0
        public void CanHazTable(int yourStyle, int dateStyle, int Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            int result = WarmUp.CanHazTable(yourStyle, dateStyle);

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #11
0
        public void TwoIsOne(int a, int b, int c, bool Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

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

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #12
0
        public void SkipSum(int a, int b, int Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

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

            //assert testing result
            Assert.AreEqual(Expected, result);
        }
Beispiel #13
0
        public void RollDice(int die1, int die2, bool noDoubles, int Expected)
        {
            //arrange instantiating objects
            LogicWarmups WarmUp = new LogicWarmups();

            //act Method
            int result = WarmUp.RollDice(die1, die2, noDoubles);

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