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
parent
commit
f9212f7adc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tests/ImageSharp.Tests/Color/ColorTests.CastTo.cs

2
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);

Loading…
Cancel
Save