public ConsolePlayer(HistoryPrinter historyPrinter, DeskHistoryManager historyManager, DeskSize deskSize, CommandManager commandManager) { this.historyPrinter = historyPrinter; this.historyManager = historyManager; this.deskSize = deskSize; this.commandManager = commandManager; }
public void PropertiesTest() { int expectedWidth = 10; int expectedHeight = 10; int expectedCount = 100; var size = new DeskSize(expectedWidth, expectedHeight); Assert.AreEqual(expectedWidth, size.Width, "DeskSize width"); Assert.AreEqual(expectedHeight, size.Height, "DeskSize height"); Assert.AreEqual(expectedCount, size.Count, "DeskSize count"); }
public Employee(string firstName, string lastName, DeskSize deskSize) { FirstName = firstName; LastName = lastName; DeskSize = deskSize; }