public void MaskBits_8_2_ToString_Is_11000000() { var mask = new MaskBits(8, 2); Assert.Equal("11000000", mask.ToString()); }
/// <summary> /// Convert this FilterData to a human-readable format. /// </summary> /// <returns>The formatted string</returns> public override string ToString() { return("CategoryBits=" + CategoryBits.ToString() + " MaskBits=" + MaskBits.ToString() + " GroupIndex=" + GroupIndex.ToString()); }