Beispiel #1
0
        public void registerTest()
        {
            PixelState p = PixelState.getInstance();

            int           threads = 0;                          // TODO: Passenden Wert initialisieren
            ThreadHandler target  = new ThreadHandler(threads); // TODO: Passenden Wert initialisieren
            Thread        thread  = new Thread(p.reset);        // TODO: Passenden Wert initialisieren

            target.register(thread);

            Assert.IsFalse(target.threadsAreAlive());
        }