Browse Source

Fixing web unit tests

Former-commit-id: 2bad436452e79975d97848f3b7c5a3d12ee80c8d
Former-commit-id: 511570333286289a6d070a9f4765b59bf8cbbac6
pull/17/head
James South 11 years ago
parent
commit
b040c7993c
  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