public void RunLclFldScenario() { var test = new BooleanComparisonOpTest__CompareLessThanUnorderedScalarSingle(); var result = Sse.CompareLessThanUnorderedScalar(test._fld1, test._fld2); ValidateResult(test._fld1, test._fld2, result); }
private static void CompareLessThanUnorderedScalarSingle() { var test = new BooleanComparisonOpTest__CompareLessThanUnorderedScalarSingle(); if (test.IsSupported) { // Validates basic functionality works test.RunBasicScenario(); // Validates calling via reflection works test.RunReflectionScenario(); // Validates passing a static member works test.RunClsVarScenario(); // Validates passing a local works test.RunLclVarScenario(); // Validates passing the field of a local works test.RunLclFldScenario(); // Validates passing an instance member works test.RunFldScenario(); } else { // Validates we throw on unsupported hardware test.RunUnsupportedScenario(); } if (!test.Succeeded) { throw new Exception("One or more scenarios did not complete as expected."); } }