Exemple #1
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.CanSleepIn(isWeekday,isVacation);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #2
0
        public void Diff21(int n, int expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            int actualResult = conditions.Diff21(n);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #3
0
        public void Between10and20(int a, int b, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.Between10and20(a, b);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #4
0
        public void AreWeInTrouble(bool aSmile, bool bSmile, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.AreWeInTrouble(aSmile, bSmile);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #5
0
        public void BackAround(string str, string expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            string actualResult = conditions.BackAround(str);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #6
0
        public void ParrotTrouble(bool isTalking, int hour, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.ParrotTrouble(isTalking, hour);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #7
0
        public void SumDouble(int a, int b, int expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            int actualResult = conditions.SumDouble(a, b);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #8
0
        public void StartHi(string str, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.StartHi(str);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #9
0
 public void SoAlone(int a, int b, bool expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     bool actualResult = conditions.SoAlone(a, b);
 }
Exemple #10
0
        public void IcyHot(int temp1, int temp2, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.IcyHot(temp1, temp2);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #11
0
 public void EndUp(string str, string expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     string actualResult = conditions.EndUp(str);
 }
Exemple #12
0
 public void Closer(int a, int b, int expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     int actualResult = conditions.Closer(a, b);
 }
Exemple #13
0
        public void NotString(string s, string expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            string actualResult = conditions.NotString(s);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #14
0
        public void NearHundred(int n, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.NearHundred(n);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #15
0
        public void MissingChar(string str, int n, string expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            string actualResult = conditions.MissingChar(str, n);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #16
0
 public void Max(int a, int b, int c, int expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     int actualResult = conditions.Max(a, b, c);
 }
Exemple #17
0
 public void IxStart(string str, bool expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     bool actualResult = conditions.IxStart(str);
 }
Exemple #18
0
        public void PosNeg(int a, int b, bool negative, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.PosNeg(a,b,negative);

            Assert.AreEqual(expectedResult, actualResult);
        }
Exemple #19
0
 public void RemoveDel(string str, string expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     string actualResult = conditions.RemoveDel(str);
 }
Exemple #20
0
 public void EveryNth(string str, int n, string expectedResult)
 {
     ConditionalWarmups conditions = new ConditionalWarmups();
     string actualResult = conditions.EveryNth(str, n);
 }
Exemple #21
0
        public void HasTeen(int a, int b, int c, bool expectedResult)
        {
            ConditionalWarmups conditions = new ConditionalWarmups();
            bool actualResult = conditions.HasTeen(a, b, c);

            Assert.AreEqual(expectedResult, actualResult);
        }