Ejemplo n.º 1
0
        public void save_PixelStateTest()
        {
            int           threads = 0;                          // TODO: Passenden Wert initialisieren
            ThreadHandler target  = new ThreadHandler(threads); // TODO: Passenden Wert initialisieren
            Bitmap        b       = new Bitmap(10, 10);
            Image         img     = (Image)b;

            ImageManipulatorType.Name manipulator = ImageManipulatorType.Name.RGB_RED; // TODO: Passenden Wert initialisieren
            ImageObject imgO = new ImageObject(img, manipulator);

            target.save_PixelState(imgO);
            PixelState state = PixelState.getInstance();

            Assert.IsInstanceOfType(state, typeof(PixelState));
        }