Browse Source

Fixing web unit tests

Former-commit-id: 5838f344db1f5334de44e62795d2a06fddeb03b8
Former-commit-id: 126b4a8fbd84c3b9747e01616dd59c8ff1c7d9f9
pull/17/head
James South 11 years ago
parent
commit
b932d1ce2e
  1. 8
      src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs

8
src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs

@ -288,10 +288,10 @@ namespace ImageProcessor.Web.UnitTests
/// The expected result.
/// </param>
[Test]
[TestCase("rotate=0", 0)]
[TestCase("rotate=270", 270)]
[TestCase("rotate=-270", 0)]
[TestCase("rotate=angle-28", 28)]
[TestCase("rotate=0", 0F)]
[TestCase("rotate=270", 270F)]
[TestCase("rotate=-270", 0F)]
[TestCase("rotate=angle-28", 28F)]
public void TestRotateRegex(string input, int expected)
{
Processors.Rotate rotate = new Processors.Rotate();

Loading…
Cancel
Save