Exemplo n.º 1
0
            public void TestQ1P5RunLengthEncodingPerformance()
            {
                var head = new Node <int>(1);

                head.Append(2);
                head.Append(3);
                head.Append(4);
                head.Append(5);

                PerformanceHelper.PerformanceTestPublicStaticMethods <Q2P2FindKthToLastElementOfLinkedList, int>(head, 4);
            }
Exemplo n.º 2
0
 public void TestQ1P4InsertPercentTwentyPerformance1()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P4InsertPercentTwenty>("hello how are you      ", 13);
 }
 public void TestQ1P3StringPermutationPerformance2()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P3StringPermutation>(
         "abccccabccccabccccabccccabccccabccccabccccabcccc",
         "ccccbaccccbaccccbaccccbaccccbaccccbaccccbaccccba");
 }
Exemplo n.º 4
0
 public void TestQ1P5RunLengthEncodingPerformance()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P5RunLengthEncoding>("aabbccddeeff");
 }
Exemplo n.º 5
0
 public void TestQ1P1UniqueCharactersInStringPerformance2()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P1UniqueCharactersInString>("asdflkjhalsdkjfhsdlfkgjdfkljghklj5iw5g78054hg8o7h45gh8754h");
 }
Exemplo n.º 6
0
 public void TestQ1P1UniqueCharactersInStringPerformance1()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P1UniqueCharactersInString>("abcdefghijklmnopqrstuvwxyz");
 }
Exemplo n.º 7
0
 public void TestQ1P1UniqueCharactersInStringPerformance3()
 {
     PerformanceHelper.PerformanceTestPublicStaticMethods <Q1P1UniqueCharactersInString>("12345");
 }