Esempio n. 1
0
 public void IronManStep3()
 {
     var algorithms = new Algorithms();
     var elements = new List<string>
     {
         "dog", "cat","bird"
     };
     var expectedResult = "dog98cat100bird99";
     var result = algorithms.ConcatenateArrayText(elements, ConcatenationType.ASCII);
     Assert.AreEqual(result, expectedResult);
 }
Esempio n. 2
0
 public void TheIncredibleHulkStep3()
 {
     var algorithms = new Algorithms();
     var elements = new List<string>
     {
         "dog", "cat","bird"
     };
     var expectedResult = "dog*cat*bird";
     var result = algorithms.ConcatenateArrayText(elements, ConcatenationType.Asterisks);
     Assert.AreEqual(result, expectedResult);
 }