public FakeStringWriter(ConsoleLog l) { log = l; }
public FakeStringReader(string s, ConsoleLog l, FakeStringWriter tw) : base(s) { log = l; this.tw = tw; }
public TestHelper() { l = new ConsoleLog(); tw = new FakeStringWriter(l); Console.SetOut(tw); }
private int cursor = 0; //index for the new line - when it's pointing to new line, cursor can be = Entries.count public FakeStringWriter(ConsoleLog l) { log = l; }