Lines Matching refs:scriptTests
1663 static const SkScriptNAnswer scriptTests[] = {
1869 #define SkScriptNAnswer_testCount SK_ARRAY_COUNT(scriptTests)
1873 SkScriptEngine engine(SkScriptEngine::ToOpType(scriptTests[index].fType));
1875 const char* script = scriptTests[index].fScript;
1877 SkASSERT(value.fType == scriptTests[index].fType);
1881 SkASSERT(value.fOperand.fS32 == scriptTests[index].fIntAnswer);
1884 scriptTests[index].fScalarAnswer);
1888 SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0);