Browse Source
Update tests/ImageSharp.Tests/Color/ColorTests.CastTo.cs
Co-authored-by: Anton Firszov <antonfir@gmail.com>
pull/1801/head
James Jackson-South
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
tests/ImageSharp.Tests/Color/ColorTests.CastTo.cs
|
|
|
@ -92,7 +92,7 @@ namespace SixLabors.ImageSharp.Tests |
|
|
|
[Fact] |
|
|
|
public void TPixel() |
|
|
|
{ |
|
|
|
var source = new RgbaVector(1, .1F, .133F, .864F); |
|
|
|
var source = new RgbaVector(float.Epsilon, 2 * float.Epsilon, float.MaxValue, float.MinValue); |
|
|
|
|
|
|
|
// Act:
|
|
|
|
var color = Color.FromPixel(source); |
|
|
|
|