Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptTests

1658 static const SkScriptNAnswer scriptTests[]  = {
1864 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
1868 SkScriptEngine engine(SkScriptEngine::ToOpType(scriptTests[index].fType));
1870 const char* script = scriptTests[index].fScript;
1872 SkASSERT(value.fType == scriptTests[index].fType);
1876 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer);
1879 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
1883 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0);