public void ToTypes_All() { KeyValuePair <PixelTypes, Type>[] expanded = PixelTypes.All.ExpandAllTypes().ToArray(); Assert.True(expanded.Length >= TestUtilityExtensions.GetAllPixelTypes().Length - 2); AssertContainsPixelType <Color>(PixelTypes.Color, expanded); AssertContainsPixelType <Color>(PixelTypes.StandardImageClass, expanded); }
public void ToTypes_All() { KeyValuePair <PixelTypes, Type>[] expanded = PixelTypes.All.ExpandAllTypes().ToArray(); Assert.True(expanded.Length >= TestUtilityExtensions.GetAllPixelTypes().Length - 2); AssertContainsPixelType <Rgba32>(PixelTypes.Rgba32, expanded); AssertContainsPixelType <Rgba32>(PixelTypes.Rgba32, expanded); }