Browse Source

Adding a test to protect the epsilon value.

pull/60/head
Olivia 9 years ago
parent
commit
58485ff74b
  1. 19
      tests/ImageSharp.Tests/Common/ConstantsTests.cs

19
tests/ImageSharp.Tests/Common/ConstantsTests.cs

@ -0,0 +1,19 @@
// <copyright file="ConstantsTests.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
namespace ImageSharp.Tests.Common
{
using ImageSharp.Common;
using Xunit;
public class ConstantsTests
{
[Fact]
public void Epsilon()
{
Assert.Equal(Constants.Epsilon, 0.001f);
}
}
}
Loading…
Cancel
Save