예제 #1
0
        public void ArrayFront9(int[] numbers, bool expected)
        {
            Loops obj = new Loops();

            bool actual = obj.ArrayFront9(numbers);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void Count9(int[] numbers, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.Count9(numbers);

            Assert.AreEqual(expected, actual);
        }
예제 #3
0
        public void CountLast2(string str, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.CountLast2(str);

            Assert.AreEqual(expected, actual);
        }
예제 #4
0
        public void AltPairs(string str, string expected)
        {
            Loops obj = new Loops();

            string actual = obj.AltPairs(str);

            Assert.AreEqual(expected, actual);
        }
예제 #5
0
 public void count9test(int[] numbers, int expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     int actual = test.Count9(numbers);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #6
0
 public void Altpairstest(string str, string expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     string actual = test.AltPairs(str);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #7
0
 public void arrayfront9test(int[] numbers, bool expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     bool actual = test.ArrayFront9(numbers);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #8
0
        public void ArrayFront9(int[] a, bool expected)
        {
            // arrange
            Loops obj = new Loops();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #9
0
        public void Array667(int[] a, int expected)
        {
            // arrange
            Loops obj = new Loops();

            // act
            int actual = obj.Array667(a);

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

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #11
0
        public void StringTimesTest(string str, int n, string expected)
        {
            // arrange
            Loops obj = new Loops();

            // act
            string actual = obj.StringTimes(str, n);

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #12
0
 public void StringX(string str, string expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     string actual = test.StringX(str);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #13
0
        public void Pattern51test(int[] numbers, bool expected)
        {
            //Arrange
            Loops test =  new Loops();

            //Act
            bool actual = test.Pattern51(numbers);

            //Assert
            Assert.AreEqual(expected, actual);
        }
예제 #14
0
 public void FrontTimesTest(string str, int n, string expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     string actual = test.FrontTimes(str, n);
     //Assert
     Assert.AreEqual(expected,actual);
 }
예제 #15
0
        public void NoTriples(int[] a, bool expected)
        {
            // arrange
            Loops obj = new Loops();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #16
0
 public void DoubleXtest(string str, bool expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     bool actual = test.DoubleX(str);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #17
0
 public void NoTriples(int[] numbers, bool expected)
 {
     Loops obj = new Loops();
     bool actual = obj.NoTriples(numbers);
     Assert.AreEqual(expected, actual);
 }
예제 #18
0
        public void StringSplosion(string a, string expected)
        {
            // arrange
            Loops obj = new Loops();

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #19
0
        public void Patterns51(int[] a, bool expected)
        {
            // arrange
            Loops obj = new Loops();

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

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

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

            // assert
            Assert.AreEqual(expected, actual);
        }
예제 #21
0
        public void DoubleX(string str, bool expected)
        {
            Loops obj = new Loops();

            bool actual = obj.DoubleX(str);

            Assert.AreEqual(expected, actual);
        }
예제 #22
0
        public void EveryOther(string str, string expected)
        {
            Loops obj = new Loops();

            string actual = obj.EveryOther(str);

            Assert.AreEqual(expected, actual);
        }
예제 #23
0
        public void StringSplosion(string str, string expected)
        {
            Loops obj = new Loops();

            string actual = obj.StringSplosion(str);

            Assert.AreEqual(expected, actual);
        }
예제 #24
0
 public void Pattern51(int[] numbers, bool expected)
 {
     Loops obj = new Loops();
     bool actual = obj.Pattern51(numbers);
     Assert.AreEqual(expected, actual);
 }
예제 #25
0
 public void SubstringMatchTest(string a, string b, int expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     int actual = test.SubStringMatch(a,b);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #26
0
 public void DoNotYak(string str, string expected)
 {
     Loops obj = new Loops();
     string actual = obj.DoNotYak(str);
     Assert.AreEqual(expected, actual);
 }
예제 #27
0
        public void SubStringMatch(string a, string b, int expected)
        {
            Loops obj = new Loops();

            int actual = obj.SubStringMatch(a, b);

            Assert.AreEqual(expected, actual);
        }
예제 #28
0
        public void FrontTimes(string str, int n, string expected)
        {
            Loops obj = new Loops();

            string actual = obj.FrontTimes(str, n);

            Assert.AreEqual(expected, actual);
        }
예제 #29
0
 public void CountXXTest(string str, int expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     int actual = test.countXX(str);
     //Assert
     Assert.AreEqual(expected, actual);
 }
예제 #30
0
 public void Array667(int[] numbers, int expected)
 {
     Loops obj = new Loops();
     int actual = obj.Array667(numbers);
     Assert.AreEqual(expected, actual);
 }