Exemple #1
0
        public void EveryOther(string str, string expected)
        {
            Loops obj = new Loops();

            string actual = obj.EveryOther(str);

            Assert.AreEqual(expected, actual);
        }
Exemple #2
0
 public void EveryOther(string str, string expected)
 {
     //Arrange
     Loops test = new Loops();
     //Act
     string actual = test.EveryOther(str);
     //Assert
     Assert.AreEqual(expected, actual);
 }
Exemple #3
0
        public void EveryOther(string a, string expected)
        {
            // arrange
            Loops obj = new Loops();

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

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