[PathKit] Add conic tests and re-create expectations.
Expectations changed in https://skia-review.googlesource.com/147720
Also apparently I missed a spot when adding conics.
Bug: skia:
Change-Id: I6a9b40ef4518a304bcb575a1ea9be1c900ef18d1
Reviewed-on: https://skia-review.googlesource.com/147816
Reviewed-by: Kevin Lubick <kjlubick@google.com>
diff --git a/experimental/pathkit/tests/pathops.spec.js b/experimental/pathkit/tests/pathops.spec.js
index 4b8c3ef..bec5252 100644
--- a/experimental/pathkit/tests/pathops.spec.js
+++ b/experimental/pathkit/tests/pathops.spec.js
@@ -125,12 +125,12 @@
it('combines two paths with .op() and matches what we see from C++', function(done) {
LoadPathKit.then(() => {
// Test JSON created with:
- // ./out/Clang/pathops_unittest -J ./pathkit/experimental/tests/PathOpsOp.json -m PathOpsOp$
+ // ./out/Clang/pathops_unittest -J ./experimental/pathkit/tests/PathOpsOp.json -m PathOpsOp$
fetch('/base/tests/PathOpsOp.json').then((r) => {
r.json().then((json)=>{
expect(json).toBeTruthy();
let testNames = Object.keys(json);
- expect(testNames.length).toBe(351); // Remove if test data changes a lot.
+ expect(testNames.length).toBe(362); // Remove if test data changes a lot.
testNames.sort();
for (testName of testNames) {
let test = json[testName];
@@ -182,12 +182,12 @@
it('simplifies a path with .simplify() and matches what we see from C++', function(done) {
LoadPathKit.then(() => {
// Test JSON created with:
- // ./out/Clang/pathops_unittest -J ./pathkit/experimental/tests/PathOpsSimplify.json -m PathOpsSimplify$
+ // ./out/Clang/pathops_unittest -J ./experimental/pathkit/tests/PathOpsSimplify.json -m PathOpsSimplify$
fetch('/base/tests/PathOpsSimplify.json').then((r) => {
r.json().then((json)=>{
expect(json).toBeTruthy();
let testNames = Object.keys(json);
- expect(testNames.length).toBe(457); // Remove if test data changes a lot.
+ expect(testNames.length).toBe(461); // Remove if test data changes a lot.
testNames.sort();
for (testName of testNames) {
let test = json[testName];