public void CalculateResizedWidthHelper() { PhotoUtils myutils = new PhotoUtils(); String myfilename = "testimage1.jpg"; String imgfolder = mytestutils.GetLocalRootPathToTestFile("\\Images\\"); int result1 = myutils.CalculateResizedWidth(myfilename, imgfolder, 280); myfilename = "testimage2.jpg"; int result2 = myutils.CalculateResizedWidth(myfilename, imgfolder, 280); Assert.AreEqual(280, result1); Assert.AreEqual(421, result2); }