BendTests.A03_LayerManagerTests.T000_EmptyLayerInitAndResume C# (CSharp) Method

T000_EmptyLayerInitAndResume() private method

private T000_EmptyLayerInitAndResume ( ) : void
return void
        public void T000_EmptyLayerInitAndResume()
        {
            LayerManager db = new LayerManager(InitMode.NEW_REGION, "c:\\BENDtst\\3");

            Assert.AreEqual(1, db.segmentlayers.Count, "should be one memory segment layer");
            Assert.AreEqual(db.segmentlayers[0], db.workingSegment, "the working segment should be the same as the memory segment layer");
            Assert.AreEqual(2, db.workingSegment.RowCount, "should be one row"); // expecting only the boostrap NUMGENERATIONS and FREELIST/HEAD records

            // TEST: log is empty
            // TEST: freespace record established!
        }