From b932d1ce2e2d736ccebdf6f31334263cc576f4e4 Mon Sep 17 00:00:00 2001 From: James South Date: Thu, 16 Oct 2014 01:00:57 +0100 Subject: [PATCH] Fixing web unit tests Former-commit-id: 5838f344db1f5334de44e62795d2a06fddeb03b8 Former-commit-id: 126b4a8fbd84c3b9747e01616dd59c8ff1c7d9f9 --- .../RegularExpressionUnitTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs b/src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs index 2ad22302a..13ac2b01b 100644 --- a/src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs +++ b/src/ImageProcessor.Web.UnitTests/RegularExpressionUnitTests.cs @@ -288,10 +288,10 @@ namespace ImageProcessor.Web.UnitTests /// The expected result. /// [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();