Browse Source

Fix localization issue with DitheringScale

af/octree-no-pixelmap
Brian Popow 6 years ago
parent
commit
1746abc9ab
  1. 4
      tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs

4
tests/ImageSharp.Tests/Processing/Processors/Quantization/QuantizerTests.cs

@ -1,6 +1,8 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Processing;
using SixLabors.ImageSharp.Processing.Processors.Quantization;
@ -209,7 +211,7 @@ namespace SixLabors.ImageSharp.Tests.Processing.Processors.Quantization
string ditherName = quantizer.Options.Dither.GetType().Name;
string ditherType = quantizer.Options.Dither.DitherType.ToString();
float ditherScale = quantizer.Options.DitherScale;
string testOutputDetails = $"{quantizerName}_{ditherName}_{ditherType}_{ditherScale}";
string testOutputDetails = FormattableString.Invariant($"{quantizerName}_{ditherName}_{ditherType}_{ditherScale}");
provider.RunValidatingProcessorTest(
x => x.Quantize(quantizer),

Loading…
Cancel
Save