public void deleteProcessInfoTest() { PTProcessInfo info; info.index = 1; info.name = "name"; info.activeTime = new TimeSpan(2, 3, 30); PTDate date; date.index = 1; date.date = DateTime.Now.Date; bool expected = true; bool inserted = PTDatabase.InsertProcessInfo(info, date); bool actual = PTDatabase.DeleteProcessInfo(info, date); Assert.AreEqual(expected, actual); }