ValidateResult() 개인적인 메소드

private ValidateResult ( Array firstOp, Array result, string method = "" ) : void
firstOp Array
result Array
method string
리턴 void
예제 #1
0
            public void RunStructFldScenario(SimpleUnaryOpTest__RoundToNearestIntegerSingle testClass)
            {
                var result = Sse41.RoundToNearestInteger(_fld);

                Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                testClass.ValidateResult(_fld, testClass._dataTable.outArrayPtr);
            }
예제 #2
0
            public void RunStructFldScenario_Load(SimpleUnaryOpTest__RoundToNearestIntegerSingle testClass)
            {
                fixed(Vector128 <Single> *pFld1 = &_fld1)
                {
                    var result = Sse41.RoundToNearestInteger(
                        Sse.LoadVector128((Single *)(pFld1))
                        );

                    Unsafe.Write(testClass._dataTable.outArrayPtr, result);
                    testClass.ValidateResult(_fld1, testClass._dataTable.outArrayPtr);
                }
            }