33 references to Check
Microsoft.ML.Core.Tests (11)
UnitTests\CoreBaseTestClass.cs (11)
205Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 206Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 209Check(tmp, "All same failed"); 216Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 217Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 220Check(tmp, "Even same failed"); 227Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 228Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 231Check(tmp, "Odd same failed"); 235Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 238Check(tmp, "Single value same failed");
Microsoft.ML.TestFramework (21)
DataPipe\TestDataPipe.cs (6)
237Check(TestCommon.CompareVec(in v1, in v2, v1.Length, fn), "Mismatch"); 832Check(tmp, "Parsing argsText failed!"); 846Check(tmp, "Parsing argsConv failed!"); 853Check(tmp, "Parsing argsConv(2) failed!"); 1288Check(caught, "text save/load should have thrown on no columns, but did not"); 1311Check(caught, "text save/load should have thrown on no columns, but did not");
DataPipe\TestDataPipeBase.cs (14)
100Check(mapper.InputSchema == data.Schema, "InputSchemas were not identical to actual input schema"); 513if (!Check(typeSlot == null, "SlotNames not in GetMetadataTypes")) 515if (!Check(typeKeys == null, "KeyValues not in GetMetadataTypes")) 662Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 663Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 666Check(tmp, "All same failed"); 673Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 674Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 677Check(tmp, "Even same failed"); 684Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 685Check(curs2.Schema == view2.Schema, "Schema of view 2 and its cursor differed"); 688Check(tmp, "Odd same failed"); 692Check(curs1.Schema == view1.Schema, "Schema of view 1 and its cursor differed"); 695Check(tmp, "Single value same failed");
TestCommandBase.cs (1)
547Check(tmp, "Single value same failed");
Microsoft.ML.Tests (1)
ExpressionLanguageTests\ExpressionLanguageTests.cs (1)
174Check(node != null, "Null LambdaNode");