Home | History | Annotate | Download | only in animator

Lines Matching refs:scriptTests

516 static const SkScriptNAnswer scriptTests[]  = {
553 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
565 SkAnimatorScript engine(*animator.fMaker, NULL, scriptTests[index].fType);
567 const char* script = scriptTests[index].fScript;
570 SkDebugf("script failed: %s\n", scriptTests[index].fScript);
571 SkASSERT(scriptTests[index].fType == SkType_Unknown);
574 SkASSERT(value.fType == scriptTests[index].fType);
578 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer);
581 error = SkScalarAbs(value.fOperand.fScalar - scriptTests[index].fScalarAnswer);
585 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0);