public void TestGetFieldOffsets()
 {
     Console.WriteLine(
         string.Join("\r\n",
                     InspectorHelper.GetFieldOffsets(typeof(ByteAndInt))
                     .Select(tpl => $"Field {tpl.fieldInfo.Name}: starts at offset {tpl.offset}"))
         );
 }
        public void PrivateBaseMembersShouldBeIncluded()
        {
            var offsets = InspectorHelper.GetFieldOffsets(typeof(Derived));

            Assert.That(offsets.Length, Is.EqualTo(2));
        }