From 06eaf8610caa7e18a78a739789dfd9daa947260d Mon Sep 17 00:00:00 2001 From: Anton Firszov Date: Tue, 15 Nov 2016 01:37:24 +0100 Subject: [PATCH] test fixes --- tests/ImageSharp.Tests/Formats/Jpg/JpegTests.cs | 2 +- tests/ImageSharp.Tests/TestImages.cs | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/ImageSharp.Tests/Formats/Jpg/JpegTests.cs b/tests/ImageSharp.Tests/Formats/Jpg/JpegTests.cs index 57bce1504..1177b57ab 100644 --- a/tests/ImageSharp.Tests/Formats/Jpg/JpegTests.cs +++ b/tests/ImageSharp.Tests/Formats/Jpg/JpegTests.cs @@ -63,7 +63,7 @@ namespace ImageSharp.Tests.Formats.Jpg } public static IEnumerable AllBmpFiles - => TestImages.Jpeg.All.Select(fn => new object[] {fn}); + => TestImages.Bmp.All.Select(fn => new object[] {fn}); [Theory] [MemberData(nameof(AllBmpFiles))] diff --git a/tests/ImageSharp.Tests/TestImages.cs b/tests/ImageSharp.Tests/TestImages.cs index 860d6c366..845fec5cc 100644 --- a/tests/ImageSharp.Tests/TestImages.cs +++ b/tests/ImageSharp.Tests/TestImages.cs @@ -43,8 +43,7 @@ namespace ImageSharp.Tests public static string GammaDalaiLamaGray => folder + "gamma_dalai_lama_gray.jpg"; - public static readonly string[] All = new[] - { + public static readonly string[] All = { Cmyk, Exif, Floorplan, Calliphora, Turtle, Fb, Progress, GammaDalaiLamaGray }; } @@ -58,6 +57,10 @@ namespace ImageSharp.Tests public static string F => folder + "F.bmp"; public static string NegHeight => folder + "neg_height.bmp"; + + public static readonly string[] All = { + Car, F, NegHeight + }; } public static class Gif