Example #1
0
    private static bool TestBase()
    {
        Permutate P      = new Permutate();
        bool      result = P.Bench();

        return(result);
    }
Example #2
0
        public void Method2()
        {
            var t    = new Permutate();
            var list = t.Compute2("123", 0);

            Assert.AreEqual(6, list.Count);
        }
Example #3
0
        public void One_Two_Three()
        {
            var t    = new Permutate();
            var list = t.Compute("123", 0);

            Assert.AreEqual(6, list.Count);
        }
Example #4
0
    public static void Test()
    {
        Permutate P = new Permutate();

        foreach (var iteration in Benchmark.Iterations)
        {
            using (iteration.StartMeasurement())
            {
                P.Bench();
            }
        }
    }
Example #5
0
 public static void Test()
 {
     Permutate P = new Permutate();
     foreach (var iteration in Benchmark.Iterations)
     {
         using (iteration.StartMeasurement())
         {
             P.Bench();
         }
     }
 }
Example #6
0
 private static bool TestBase()
 {
     Permutate P = new Permutate();
     bool result = P.Bench();
     return result;
 }