[TestMethod] public void IsSameInstanceTest() { var logBook = ThreadSafeLogBook.Create(list); for (var i = 0; i < GetRandom.Int32(3, 10); i++) { Assert.AreSame(logBook, ThreadSafeLogBook.Create(list)); } }
public Logger(int f, int t, List <string> l) { logBook = ThreadSafeLogBook.Create(l); fromInt = f; toInt = t; }