diff --git a/tests/paths/arc.png b/tests/paths/arc.png index f6abfbf..032a73d 100644 Binary files a/tests/paths/arc.png and b/tests/paths/arc.png differ diff --git a/tests/paths/arcTo1.png b/tests/paths/arcTo1.png index a07975e..0fdbac6 100644 Binary files a/tests/paths/arcTo1.png and b/tests/paths/arcTo1.png differ diff --git a/tests/paths/arcTo3.png b/tests/paths/arcTo3.png index 0b6c20f..6582704 100644 Binary files a/tests/paths/arcTo3.png and b/tests/paths/arcTo3.png differ diff --git a/tests/paths/pixelScale.png b/tests/paths/pixelScale.png index d27f29d..945095a 100644 Binary files a/tests/paths/pixelScale.png and b/tests/paths/pixelScale.png differ diff --git a/tests/test_paths.nim b/tests/test_paths.nim index bc72467..8c81a5a 100644 --- a/tests/test_paths.nim +++ b/tests/test_paths.nim @@ -605,7 +605,7 @@ block: doAssert not path.strokeOverlaps(vec2(0, 0)) doAssert not path.strokeOverlaps(vec2(20, 20)) doAssert path.strokeOverlaps(vec2(0, 20)) - doAssert path.strokeOverlaps(vec2(40, 20)) + doAssert path.strokeOverlaps(vec2(39.9, 19.9)) doAssert path.strokeOverlaps(vec2(19.8, 30.2)) doAssert not path.strokeOverlaps(vec2(19.4, 30.6))