Exemple #1
0
 public static UnitTestRegistry GetDefault()
 {
     if (_singleton == null)
     {
         _singleton = new UnitTestRegistry();
     }
     return(_singleton);
 }
Exemple #2
0
 public static void Register()
 {
     UnitTestRegistry.GetDefault().Register(new UnitTest(TestSimpleProjection, "Simple projection"));
 }
Exemple #3
0
 public static void Register()
 {
     UnitTestRegistry.GetDefault().Register(new UnitTest(TestAverageSummary, "Average summary"));
     UnitTestRegistry.GetDefault().Register(new UnitTest(TestMedianSummary, "Median summary"));
     UnitTestRegistry.GetDefault().Register(new UnitTest(TestCountSummary, "Count summary"));
 }