private void CheckBitmapped(MyBitmappedField myBitmappedField, uint fourBit, bool bit, uint threeBit)
 {
     Assert.AreEqual(bit, myBitmappedField.ABit.BitValue);
     Assert.AreEqual(bit, myBitmappedField.ABit);
     Assert.AreEqual(fourBit, myBitmappedField.AFourBitField.Value);
     Assert.AreEqual(threeBit, myBitmappedField.AThreeBitField);
 }
 private void SetBitmapped(MyBitmappedField myBitmappedField, uint fourBit, bool bit, uint threeBit)
 {
     myBitmappedField.ABit.BitValue        = bit;
     myBitmappedField.AFourBitField.Value  = fourBit;
     myBitmappedField.AThreeBitField.Value = threeBit;
 }