Lines Matching refs:testName
11 function addSVG(testName, expectedPath, actualPath, message) { argument
32 <h2>Failed test ${testName}</h2>
131 for (testName of testNames) {
132 let test = json[testName];
145 … expect(combined).toBeNull(`Test ${testName} should have not created output, but did`);
156 expect(`[${testName}] ${diff}`).toBe('');
157 addSVG('[PathOps] ' + testName, expected, combined, diff);
163 … expect(`[${testName}] was expected to have paths that differed`).not.toBe('');
189 for (testName of testNames) {
190 let test = json[testName];
199 … expect(simplified).toBeNull(`Test ${testName} should have not created output, but did`);
210 expect(`[${testName}] ${diff}`).toBe('');
211 addSVG('[Simplify] ' + testName, expected, simplified, diff);
217 … expect(`[${testName}] was expected to not match output`).not.toBe('');