Small commit while writing tests

This commit is contained in:
2025-12-03 20:33:11 +01:00
parent 0db43fe51a
commit 7201f66214
4 changed files with 67 additions and 0 deletions

View File

@@ -10,12 +10,15 @@ public class AssignmentManager {
Map<Integer, Task> taskMap;
int workerIdCounter;
int taskIdCounter;
UserCommands userInterface;
public AssignmentManager() {
workerMap = new HashMap<>();
taskMap = new HashMap<>();
int workerIdCounter = 1000;
int taskIdCounter = 0;
userInterface = new UserCommands();
userInterface.start();
}
public int createWorker(String name) {