public void testResize()
 {
     String testPath = "testResize/";
     String[] pictures = Directory.GetFiles(testPath);
     int testWidth = 60;
     int testHeight = 30;
     ImageResizer iR = new ImageResizer(testPath, testWidth, testHeight);
     iR.execute();
     String directory = "Resized/";
     String[] resizedPictures = Directory.GetFiles(directory);
     Assert.AreEqual(resizedPictures.Length, pictures.Length, "Some images were not resized");
     Size testSize = new Size(testWidth, testHeight);
     for (int i = 0; i < resizedPictures.Length; i++)
     {
         Size finalImages = new Bitmap(resizedPictures[i]).Size;
         Assert.AreEqual(testSize, finalImages, "The image was resized to the wrong size");
     }
 }