public static void SelfTest() { var eb = new EstimatorBench(); eb.GlobalSetup(); var tolerance = new AlmostEqualFloat(1e-6f); var expected = eb.TestCSharpProduct();
static void Check(string name, float[] expected, float[] results, AlmostEqualFloat tolerance) { Helpers.PrintVector(name, results); Assert.Equal(expected, results, tolerance); }