public void get_ImageTest() { WebcamModel target = new WebcamModel(); Image expected = null; Image actual; actual = target.get_Image(); Assert.AreEqual(expected, actual); }
public void get_devicesTest() { WebcamModel target = new WebcamModel(); // TODO: Passenden Wert initialisieren Dictionary<int, string> actual; actual = target.get_devices(); Assert.IsInstanceOfType(actual, typeof(Dictionary<int, string>)); }
public WebcamController() { model = new WebcamModel(); }
public void set_deviceTest() { WebcamModel target = new WebcamModel(); KeyValuePair<int, string> selob = new KeyValuePair<int, string>(); target.set_device(selob); }
public void stop_captureTest() { WebcamModel target = new WebcamModel(); // TODO: Passenden Wert initialisieren target.stop_capture(); }
public void show_pictureTest() { PictureBox pic = new PictureBox(); PixelState.getInstance().set_pictureBox(pic); WebcamModel target = new WebcamModel(); Dictionary<int, string> devices = new Dictionary<int, string>(); Dictionary<int, string> solutions = new Dictionary<int, string>(); devices.Add(1,""); solutions.Add(1, ""); WebcamOptions form = new WebcamOptions(devices, solutions); target.show_picture(pic, form); }
public void set_solutionTest() { WebcamModel target = new WebcamModel(); KeyValuePair<int, string> selob = new KeyValuePair<int, string>(); target.set_solution(selob); }