Skip to content

armgit / Filee

Public Imported from GitHub
0

Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.

Don't count drawing an embroidery design as tracing in the tracing tests

cre8ive-marketing123a7ab75851
diff --git a/tests/Filee.Engines.Tests/TracingTests.cs b/tests/Filee.Engines.Tests/TracingTests.cs
index 831e64f0..1e5c3fac 100644
--- a/tests/Filee.Engines.Tests/TracingTests.cs
+++ b/tests/Filee.Engines.Tests/TracingTests.cs
@@ -465,7 +465,8 @@ public class TracingTests(EngineFixture fx) : IClassFixture<EngineFixture>
Assert.True(checkedRoutes > 1000);
}
- private static bool IsTracing(RouteStep step) => step.Converter is VectorConverter && step.To == "svg" && step.From is not "svgz";
+ // SVGZ is unpacked and an embroidery design's stitches are drawn as lines: neither is traced.
+ private static bool IsTracing(RouteStep step) => step.Converter is VectorConverter && step.To == "svg" && step.From is not ("svgz" or "dst");
/// <summary>The vector engine without its tracing edges.</summary>
private sealed class WithoutTracing(IConverter inner) : IConverter