Browse Source

Fixes a unit test (wrong parameters order)

Former-commit-id: bcfb1caf15531d47653132153ad26cef59668c0e
af/merge-core
Thomas Broust 12 years ago
parent
commit
77c0887972
  1. 4
      src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs

4
src/ImageProcessor.UnitTests/ImageFactoryUnitTests.cs

@ -121,8 +121,8 @@ namespace ImageProcessor.UnitTests
var original = imageFactory.Image.Clone(); var original = imageFactory.Image.Clone();
imageFactory.Constrain(new System.Drawing.Size(maxSize, maxSize)); imageFactory.Constrain(new System.Drawing.Size(maxSize, maxSize));
Assert.AreNotEqual(original, imageFactory.Image); Assert.AreNotEqual(original, imageFactory.Image);
Assert.LessOrEqual(maxSize, imageFactory.Image.Width); Assert.LessOrEqual(imageFactory.Image.Width, maxSize);
Assert.LessOrEqual(maxSize, imageFactory.Image.Height); Assert.LessOrEqual(imageFactory.Image.Height, maxSize);
} }
} }
} }

Loading…
Cancel
Save