Ejemplo n.º 1
0
        public void DatabaseGetRecords()
        {
            List <int> result;

            result = DatabaseStoreStatic.GetRecords();
            Assert.AreEqual(0, result.Count);
            DatabaseStoreStatic.NewRecord();
            result = DatabaseStoreStatic.GetRecords();
            Assert.AreEqual(1, result.Count);
            DatabaseStoreStatic.DeleteRecord(1);
            result = DatabaseStoreStatic.GetRecords();
            Assert.AreEqual(0, result.Count);
        }