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

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

            Assert.AreEqual(expected, actual);
        }
Exemple #2
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);
 }
Exemple #3
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);
        }