Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public void TestAspectRatio() { int h = 10; int w = 20; var expectedAr = 2; Size size = new Size(w, h); var returnedAr = ImageResizer.GetAspectRatio(size); Assert.AreEqual(expectedAr, returnedAr); }