Fixed error in test-data generation

This commit is contained in:
Darth Affe 2024-07-21 12:45:55 +02:00
parent c897b34690
commit 10f0c8c5b7

View File

@ -39,8 +39,8 @@ public class CreateSimpleColorPaletteTests
foreach (int size in SimpleSizes) foreach (int size in SimpleSizes)
_simpleReference[image][typeof(T)][size] = [.. ReferencePixelHelper.CreateSimpleColorPalette(img, size).OrderBy(x => x.R).ThenBy(x => x.G).ThenBy(x => x.B).ThenBy(x => x.A)]; _simpleReference[image][typeof(T)][size] = [.. ReferencePixelHelper.CreateSimpleColorPalette(img, size).OrderBy(x => x.R).ThenBy(x => x.G).ThenBy(x => x.B).ThenBy(x => x.A)];
foreach (int size in Sizes) //foreach (int size in Sizes)
_reference[image][typeof(T)][size] = [.. ReferencePixelHelper.CreateColorPalette(img, size).OrderBy(x => x.R).ThenBy(x => x.G).ThenBy(x => x.B).ThenBy(x => x.A)]; // _reference[image][typeof(T)][size] = [.. ReferencePixelHelper.CreateColorPalette(img, size).OrderBy(x => x.R).ThenBy(x => x.G).ThenBy(x => x.B).ThenBy(x => x.A)];
} }
[TestMethod] [TestMethod]