コード例 #1
0
        public static void SelfTest()
        {
            var eb = new EstimatorBench();

            eb.GlobalSetup();

            var tolerance = new AlmostEqualFloat(1e-6f);
            var expected  = eb.TestCSharpProduct();
コード例 #2
0
 static void Check(string name, float[] expected, float[] results, AlmostEqualFloat tolerance)
 {
     Helpers.PrintVector(name, results);
     Assert.Equal(expected, results, tolerance);
 }