From e54e5ded604d2454594f686ecf04a610af4b3e29 Mon Sep 17 00:00:00 2001 From: David Sungaila Date: Thu, 17 Jun 2021 20:40:06 +0200 Subject: [PATCH] Disable four unit tests for .NET Framework 4.6.1 --- src/Tests/ComparisonTests.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Tests/ComparisonTests.cs b/src/Tests/ComparisonTests.cs index b97a3089..78ec02ea 100644 --- a/src/Tests/ComparisonTests.cs +++ b/src/Tests/ComparisonTests.cs @@ -114,6 +114,10 @@ public void SaveBmpPageNumber(int page, bool withAnnotations = false) [DataRow(19, true, DisplayName = "Page 20 (with annotations)")] public void SavePngPageNumber(int page, bool withAnnotations = false) { +#if !NETCOREAPP3_0_OR_GREATER + if (page == 4 || page == 13) + Assert.Inconclusive("Different results for .NET Framework 4.6.1."); +#endif using var inputStream = new FileStream(Path.Combine("Assets", "Wikimedia_Commons_web.pdf"), FileMode.Open, FileAccess.Read); using var expectedStream = new FileStream(Path.Combine("Assets", "Expected", $"Wikimedia_Commons_web_{page}{(withAnnotations ? "_ANNOT" : string.Empty)}.png"), FileMode.Open, FileAccess.Read); using var outputStream = new MemoryStream();