9 references to CompareVec
Microsoft.ML.Core.Tests (1)
UnitTests\CoreBaseTestClass.cs (1)
79
return TestCommon.
CompareVec
<T>(in v1, in v2, size, fn);
Microsoft.ML.TestFramework (6)
DataPipe\TestDataPipe.cs (5)
237
Check(TestCommon.
CompareVec
(in v1, in v2, v1.Length, fn), "Mismatch");
593
if (!TestCommon.
CompareVec
(in bag1, in bag2, bag1.Length, (x1, x2) => x1 <= x2))
635
if (!TestCommon.
CompareVec
(in bag1, in bag2, bag1.Length, (x1, x2) => 2 * x1 == x2))
787
if (!TestCommon.
CompareVec
(in b1, in b2, b1.Length, (x1, x2) => 2 * x1 == x2))
930
TestCommon.
CompareVec
(in buffer, in expected[index++], buffer.GetValues().Length, (s1, s2) => s1.Span.SequenceEqual(s2.Span));
DataPipe\TestDataPipeBase.cs (1)
1028
return TestCommon.
CompareVec
<T>(in v1, in v2, size, fn);
Microsoft.ML.TestFrameworkCommon (1)
TestCommon.cs (1)
264
Assert.True(
CompareVec
(in names1, in names2, (int)size, (a, b) => a.Span.SequenceEqual(b.Span)), $"Different {kind} metadata values");
Microsoft.ML.Tests (1)
Transformers\CopyColumnEstimatorTests.cs (1)
156
Assert.True(TestCommon.
CompareVec
(in names1, in names2, size, (a, b) => a.Span.SequenceEqual(b.Span)));