[TestCase(7, 0b10000000)] // 0x80 public void ShouldGetMaskForBitIndex(int bitIndex, byte expectedMask) { var actualMask = bmu.GetMaskForBitIndex(bitIndex); Assert.That(actualMask, Is.EqualTo(expectedMask)); }
public byte GetMaskForBitIndex(int lsb0BitIndex) => bitMaskUtilities.GetMaskForBitIndex(lsb0BitIndex);