public void ThreadHandlerConstructorTest() { int threads = 2; // TODO: Passenden Wert initialisieren ThreadHandler target = new ThreadHandler(threads); Assert.AreEqual(target.getThreads(), threads); }
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); }