Example #1
0
 public void AddTestCase()
 {
     m_Tester.AddTestCase(0, 0, 0);
 }
Example #2
0
 public void AddTestCase()
 {
     m_Tester.AddTestCase("PAYPALISHIRING", 3, "PAHNAPLSIIGYIR");
     m_Tester.AddTestCase("PAYPALISHIRING", 4, "PINALSIGYAHRPI");
     m_Tester.AddTestCase("PAYPALISHIRING", 5, "PHASIYIRPLIGAN");
     m_Tester.AddTestCase("PAYPALISHIRING", 6, "PRAIIYHNPSGAIL");
     m_Tester.AddTestCase("abcdefghijk", 2, "acegikbdfhj");
     m_Tester.AddTestCase("", 1, "");
     m_Tester.AddTestCase("", 2, "");
     m_Tester.AddTestCase("A", 1, "A");
     m_Tester.AddTestCase("A", 2, "A");
     m_Tester.AddTestCase("AB", 1, "AB");
     m_Tester.AddTestCase("AB", 2, "AB");
     m_Tester.AddTestCase("ABC", 1, "ABC");
     m_Tester.AddTestCase("ABC", 2, "ACB");
     m_Tester.AddTestCase("ABC", 3, "ABC");
 }
Example #3
0
 public void AddTestCase()
 {
     m_Tester.AddTestCase(new int[] { 1, 3 }, new int[] { 2 }, 2.0f);
     m_Tester.AddTestCase(new int[] { 1, 2 }, new int[] { 3, 4 }, 2.5f);
     m_Tester.AddTestCase(new int[] { 1 }, new int[] { 2, 3, 5 }, 2.5f);
 }