예제 #1
0
        public void Diff21(int n, int expected)
        {
            Conditionals obj = new Conditionals();

            int actual = obj.Diff21(n);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void EndUp(string str, string expected)
        {
            Conditionals obj = new Conditionals();

            string actual = obj.EndUp(str);

            Assert.AreEqual(expected, actual);
        }
예제 #3
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool expected)
        {
            Conditionals obj = new Conditionals();

            bool actual = obj.CanSleepIn(isWeekday, isVacation);

            Assert.AreEqual(expected, actual);
        }
예제 #4
0
        public void Between10and20(int a, int b, bool expected)
        {
            Conditionals obj = new Conditionals();

            bool actual = obj.Between10and20(a, b);

            Assert.AreEqual(expected, actual);
        }
예제 #5
0
        public void BackAround(string str, string expected)
        {
            Conditionals obj = new Conditionals();

            string actual = obj.BackAround(str);

            Assert.AreEqual(expected, actual);
        }
예제 #6
0
 public void Diff21(int n, int expected)
 {
     //arrange
     Conditionals obj = new Conditionals();
     //act
     int actual = obj.Diff21(n);
     //assert
     Assert.AreEqual(expected, actual);
 }
예제 #7
0
 public void SumDouble(int a, int b, int expected)
 {
     //arrange
     Conditionals obj = new Conditionals();
     //act
     int actual = obj.SumDouble(a, b);
     //assert
     Assert.AreEqual(expected, actual);
 }
예제 #8
0
        public void Diff21test(int a, int expected)
        {
            //Arrange
            Conditionals test = new Conditionals();

            //Act
            int actual = test.Diff21(a);

            //Assert
            Assert.AreEqual(expected, actual);
        }
예제 #9
0
        public void CanSleepIn(bool isWeekday, bool isVacation, bool expected)
        {
            //Arrange
            Conditionals test = new Conditionals ();

            //Act
            bool actual = test.CanSleepIn(isWeekday, isVacation);

            //Assert
            Assert.AreEqual(expected, actual);
        }
예제 #10
0
        public void BackAround(string a, string expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            string actual = obj.BackAround(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #11
0
        public void AreWeInTroubleTest(bool aSmile, bool bSmile, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            bool actual = obj.AreWeInTrouble(aSmile, bSmile);

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #12
0
        public void ParrotTrouble(bool a, int b, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #13
0
        public void NearHundred(int a, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #14
0
        public void Multople3or5(int a, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #15
0
        public void MissingChar(string a, int b, string expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #16
0
        public void Max(int a, int b, int c, int expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #17
0
        public void HasTeen(int a, int b, int c, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #18
0
 public void StartOzTest(string str, string expected)
 {
     Conditionals test = new Conditionals();
     string actual = test.StartOz(str);
     Assert.AreEqual(expected, actual);
 }
예제 #19
0
        public void StartHi(string a, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            bool actual = obj.StartHi(a);
            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #20
0
        public void SleepIn(bool a, bool b, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #21
0
        public void PosNeg(int a, int b, bool c, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #22
0
 public void CloserTest(int a, int b, int expected)
 {
     Conditionals test = new Conditionals();
     int actual = test.Closer(a, b);
     Assert.AreEqual(expected, actual);
 }
예제 #23
0
 public void BackAroundTest(string str, string expected)
 {
     Conditionals test = new Conditionals();
     string actual = test.BackAround(str);
     Assert.AreEqual(expected, actual);
 }
예제 #24
0
        public void SumDouble(int a, int b, int expected)
        {
            //Arrange
            Conditionals test = new Conditionals();

            //Act
            int actual = test.SumDouble(a,b);

            //Assert
            Assert.AreEqual(expected, actual);
        }
예제 #25
0
        public void RemoveDel(string a, string expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            string actual = obj.RemoveDel(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #26
0
 public void EndUpTest(string str, string expected)
 {
     Conditionals test = new Conditionals();
     string actual = test.EndUp(str);
     Assert.AreEqual(expected, actual);
 }
예제 #27
0
        public void SoAlone(int a, int b, bool expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #28
0
 public void EveryNthtest(string str, int n, string expected)
 {
     Conditionals test = new Conditionals();
     string actual = test.EveryNth(str, n);
     Assert.AreEqual(expected, actual);
 }
예제 #29
0
        public void StartOz(string a, string expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

            // act
            string actual = obj.StartOz(a);

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #30
0
        public void EveryNth(string a, int b, string expected)
        {
            // arrange
            Conditionals obj = new Conditionals();

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

            // assert
            Assert.AreEqual(expected, actual);
        }