Browse Source

remove old test

pull/98/head
Scott Williams 9 years ago
parent
commit
3d8e86cb3a
  1. 16
      tests/ImageSharp.Tests/Drawing/Paths/Extensions.cs

16
tests/ImageSharp.Tests/Drawing/Paths/Extensions.cs

@ -16,22 +16,6 @@ namespace ImageSharp.Tests.Drawing.Paths
public class Extensions
{
[Fact]
public void ConvertPointInfo()
{
SixLabors.Shapes.PointInfo src = new SixLabors.Shapes.PointInfo
{
ClosestPointOnPath = Vector2.UnitX,
SearchPoint = Vector2.UnitY,
DistanceAlongPath = 99f,
DistanceFromPath = 82f
};
ImageSharp.Drawing.PointInfo info = src.Convert();
Assert.Equal(src.DistanceAlongPath, info.DistanceAlongPath);
Assert.Equal(src.DistanceFromPath, info.DistanceFromPath);
}
[Theory]
[InlineData(0.5, 0.5, 5, 5, 0,0,6,6)]
[InlineData(1, 1, 5, 5, 1,1,5,5)]

Loading…
Cancel
Save