public void ConfirmStatsPart2Case1(HashStats stats) { Assert.AreNotEqual(0, stats.BigPages); Assert.AreNotEqual(0, stats.BigPagesFreeBytes); Assert.AreNotEqual(0, stats.BucketPagesFreeBytes); Assert.AreNotEqual(0, stats.DuplicatePages); Assert.AreNotEqual(0, stats.DuplicatePagesFreeBytes); Assert.AreNotEqual(0, stats.MagicNumber); Assert.AreNotEqual(0, stats.MetadataFlags); Assert.AreEqual(100, stats.nData); Assert.AreNotEqual(0, stats.nHashBuckets); Assert.AreEqual(51, stats.nKeys); Assert.AreNotEqual(0, stats.nPages); Assert.AreEqual(0, stats.OverflowPages); Assert.AreEqual(0, stats.OverflowPagesFreeBytes); }
public void ConfirmStatsPart3Case1(HashStats stats) { Assert.AreNotEqual(0, stats.FreePages); }
public void ConfirmStatsPart1Case1(HashStats stats) { Assert.AreEqual(10, stats.FillFactor); Assert.AreEqual(4096, stats.PageSize); Assert.AreNotEqual(0, stats.Version); }