Exemple #1
0
        public void Field_MinWordSize()
        {
            Assert.AreEqual(BlockEncoder.MinWordSize.GetType(), 1.GetType());
            Assert.IsTrue(BlockEncoder.MinWordSize < BlockEncoder.MaxWordSize);
            FieldInfo info = instance.GetType().GetField("MinWordSize");

            Assert.IsTrue(info.IsInitOnly);
            Assert.IsTrue(info.IsStatic);
        }