public void TestFindChildren() { DatabaseController.ChildInfoDatabase db = new DatabaseController.ChildInfoDatabase(); string[,] childList = db.FindChildren("123450"); Assert.IsNotNull(childList); Assert.AreEqual(childList.GetLength(0), 3); }
public void TestGetMaxConnectionID() { DatabaseController.ChildInfoDatabase db = new DatabaseController.ChildInfoDatabase(); Assert.AreNotEqual(db.GetMaxConnectionID(), 0); Assert.IsNotNull(db.GetMaxConnectionID()); }