// BUG: Fix bug in test 5. public static void Main() { ITestingSystemDatabase database = new ACDatabase(); IController controller = new Controller(database); ICommandManager commandManager = new CommandManager(controller); IUserInterface ui = new ConsoleUserInterface(); IEngine engine = new Engine(ui, commandManager); engine.Run(); }
public static void Main() // BUG: Fix bug in test 5. { ITestingSystemDatabase database = new ACDatabase(); IController controller = new Controller(database); ICommandManager commandManager = new CommandManager(controller); IUserInterface ui = new ConsoleUserInterface(); IEngine engine = new Engine(ui, commandManager); engine.Run(); }
public void Initialize() { var data = new ACDatabase(); this.controller = new Controller(data); }