예제 #1
0
        public void ThreadHandlerConstructorTest()
        {
            int           threads = 2; // TODO: Passenden Wert initialisieren
            ThreadHandler target  = new ThreadHandler(threads);

            Assert.AreEqual(target.getThreads(), threads);
        }
예제 #2
0
        public void getThreadsTest()
        {
            int           threads  = 2;                          // TODO: Passenden Wert initialisieren
            ThreadHandler target   = new ThreadHandler(threads); // TODO: Passenden Wert initialisieren
            int           expected = 2;                          // TODO: Passenden Wert initialisieren
            int           actual;

            actual = target.getThreads();
            Assert.AreEqual(expected, actual);
        }