public void GetDateTimeOfFirstEventTest()
 {
     var db = new Database("test.db");
     EventDataHelper target = new EventDataHelper(); // TODO: Initialize to an appropriate value
     var actual = target.GetDateTimeOfFirstEvent();
     Assert.IsNotNull(actual);
 }
Пример #2
0
 /// <summary>
 /// Constructor for Unit tests.  Let me know if this is a bad idea ben.
 /// </summary>
 /// <param name="databaseFileName"></param>
 public Database(string databaseFileName)
     : this(databaseFileName, true)
 {
     instance = this;
     Connect();
 }