public void TestSaveImage()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Resources));
     Image testImage = ((System.Drawing.Image)(resources.GetObject("testImageOrigin")));
     FileAccessHandler fileAccessHandler = new FileAccessHandler();
     string path = System.IO.Directory.GetCurrentDirectory();
     Assert.AreEqual(true, fileAccessHandler.SaveImage(testImage, "test", path));
 }
        public FormMain()
        {
            InitializeComponent();
            controller = new FilterController();
            fileAccessHandler = new FileAccessHandler();
            initializeColorPanel();

            cmbEdgeDetection.Items.AddRange(controller.FilterNames.ToArray());
            cmbEdgeDetection.SelectedIndex = 0;
        }