Beispiel #1
0
        public void CaughtSpeeding(int speed, bool isBirthday, int expected)
        {
            Logic obj = new Logic();

            int actual = obj.CaughtSpeeding(speed, isBirthday);

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public void CanHazTable(int yourStyle, int dateStyle, int expected)
        {
            Logic obj = new Logic();

            int actual = obj.CanHazTable(yourStyle, dateStyle);

            Assert.AreEqual(expected, actual);
        }
Beispiel #3
0
        public void AnswerCell(bool isMorning, bool isMom, bool isAsleep, bool expected)
        {
            Logic obj = new Logic();

            bool actual = obj.AnswerCell(isMorning, isMom, isAsleep);

            Assert.AreEqual(expected, actual);
        }
Beispiel #4
0
        public void AreInOrder(int a, int b, int c, bool bOk, bool expected)
        {
            Logic obj = new Logic();

            bool actual = obj.AreInOrder(a, b, c, bOk);

            Assert.AreEqual(expected, actual);
        }
Beispiel #5
0
        public void AlarmClock(int day, bool vacation, string expected)
        {
            Logic obj = new Logic();

            string actual = obj.AlarmClock(day, vacation);

            Assert.AreEqual(expected, actual);
        }
Beispiel #6
0
        public void AreInOrder(int a, int b, int c, bool d, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.AreInOrder(a, b, c, d);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #7
0
        public void AlarmClock(int a, bool b, string expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            string actual = obj.AlarmClock(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #8
0
        public void GreatPartyTest(int cigars, bool isWeekend, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.GreatParty(cigars, isWeekend);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #9
0
        public void AnswerCell(bool a, bool b, bool c, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.AnswerCell(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #10
0
        public void CanHazTable(int a, int b, int expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            int actual = obj.CanHazTable(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #11
0
        public void PlayOutside(int a, int b, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.LoveSix(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #12
0
        public void Mod35(int a, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.Mod35(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #13
0
        public void LastDigit(int a, int b, int c, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.LastDigit(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #14
0
 public void Mod35test(int n, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.Mod35(n);
     Assert.AreEqual(expected, actual);
 }
Beispiel #15
0
        public void SpecialEleven(int a, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.SpecialEleven(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #16
0
 public void AreInOrderTest(int a, int b, int c, bool bok, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.AreInOrder(a, b, c, bok);
     Assert.AreEqual(expected, actual);
 }
Beispiel #17
0
 public void TwoIsOneTest(int a, int b, int c, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.TwoIsOne(a, b, c);
     Assert.AreEqual(expected, actual);
 }
Beispiel #18
0
 public void SpecialEleven(int n,bool expected )
 {
     Logic test = new Logic();
     bool actual = test.SpecialEleven(n);
     Assert.AreEqual(expected, actual);
 }
Beispiel #19
0
 public void skipSumTest(int a, int b, int expected)
 {
     Logic test = new Logic();
     int actual = test.skipSum(a, b);
     Assert.AreEqual(expected, actual);
 }
Beispiel #20
0
 public void RollDiceTest(int die1, int die2, bool noDoubles, int expected)
 {
     Logic test = new Logic();
     int actual = test.RollDice(die1, die2, noDoubles);
     Assert.AreEqual(expected, actual);
 }
Beispiel #21
0
 public void PlayOutsideTest(int temp, bool isSummer, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.PlayOutside(temp, isSummer);
     Assert.AreEqual(expected, actual);
 }
Beispiel #22
0
        public void RollDice(int a, int b, bool c, int expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            int actual = obj.RollDice(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #23
0
        public void SkipSum(int a, int b, int expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            int actual = obj.SkipSum(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #24
0
 public void LastDigitTest(int a, int b, int c, bool expected )
 {
     Logic test = new Logic();
     bool actual = test.LastDigit(a, b, c);
     Assert.AreEqual(expected, actual);
 }
Beispiel #25
0
        public void TwoIsOne(int a, int b, int c, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.TwoIsOne(a, b, c);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #26
0
 public void InRange(int n, bool OutsideMode, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.InRange(n, OutsideMode);
     Assert.AreEqual(expected, actual);
 }
Beispiel #27
0
        public void InRange(int a, bool b, bool expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            bool actual = obj.InRange(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #28
0
 public void LoveSixTest(int a, int b, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.LoveSix(a, b);
     Assert.AreEqual(expected, actual);
 }
Beispiel #29
0
        public void CaughtSpeeding(int a, bool b, int expected)
        {
            // arrange
            Logic obj = new Logic();

            // act
            int actual = obj.CaughtSpeeding(a, b);

            // assert
            Assert.AreEqual(expected, actual);
        }
Beispiel #30
0
 public void InOrderEqualtest(int a, int b, int c, bool equalok, bool expected)
 {
     Logic test = new Logic();
     bool actual = test.InOrderEqual(a, b, c, equalok);
     Assert.AreEqual(expected, actual);
 }