diff --git a/CSharp/Tests/Tests1/Tests/TestLines.cs b/CSharp/Tests/Tests1/Tests/TestLines.cs index e26e27f2..78cf4b26 100644 --- a/CSharp/Tests/Tests1/Tests/TestLines.cs +++ b/CSharp/Tests/Tests1/Tests/TestLines.cs @@ -16,7 +16,7 @@ public void TestOpenPaths() Paths64 subj = new(), subj_open = new(), clip = new(); Paths64 solution = new(), solution_open = new(); - Assert.IsTrue(ClipperFileIO.LoadTestNum("..\\..\\..\\..\\..\\..\\Tests\\Lines.txt", + Assert.IsTrue(ClipperFileIO.LoadTestNum("../../../../../../Tests/Lines.txt", i, subj, subj_open, clip, out ClipType clipType, out FillRule fillrule, out long area, out int count, out _), string.Format("Loading test {0} failed.", i)); diff --git a/CSharp/Tests/Tests1/Tests/TestPolygons.cs b/CSharp/Tests/Tests1/Tests/TestPolygons.cs index 2a0a3535..8773a240 100644 --- a/CSharp/Tests/Tests1/Tests/TestPolygons.cs +++ b/CSharp/Tests/Tests1/Tests/TestPolygons.cs @@ -24,7 +24,7 @@ public void TestClosedPaths() Paths64 subj = new(), subj_open = new (), clip = new(); Paths64 solution = new(), solution_open = new(); - if (!ClipperFileIO.LoadTestNum("..\\..\\..\\..\\..\\..\\Tests\\Polygons.txt", + if (!ClipperFileIO.LoadTestNum("../../../../../../Tests/Polygons.txt", testNum, subj, subj_open, clip, out ClipType clipType, out FillRule fillrule, out long storedArea, out int storedCount, out _)) { diff --git a/CSharp/Tests/Tests1/Tests/TestPolytree.cs b/CSharp/Tests/Tests1/Tests/TestPolytree.cs index 0301cfeb..a469114c 100644 --- a/CSharp/Tests/Tests1/Tests/TestPolytree.cs +++ b/CSharp/Tests/Tests1/Tests/TestPolytree.cs @@ -61,7 +61,7 @@ public void TestPolytree2() { Paths64 subject = new(), subjectOpen = new(), clip = new(); - Assert.IsTrue(ClipperFileIO.LoadTestNum("..\\..\\..\\..\\..\\..\\Tests\\PolytreeHoleOwner2.txt", + Assert.IsTrue(ClipperFileIO.LoadTestNum("../../../../../../Tests/PolytreeHoleOwner2.txt", 1, subject, subjectOpen, clip, out ClipType cliptype, out FillRule fillrule, out _, out _, out _), "Unable to read PolytreeHoleOwner2.txt");