示例#1
0
        public void Test_DeleteBuilding()
        {
            var data     = new EfData();
            var id       = data.GetTopB();
            var expected = db.Buildings.Where(x => x.BuildingID == id).FirstOrDefault();

            var actual = data.DeleteBuilding(expected, id);

            Assert.True(actual);
        }