public void IntIsDivisibleByPowerOf2() { using (var a = new HugeInt("234052834524092854092874502983745029345723098457209305983434345")) { uint b = 40; a.Value = (a << b); Assert.IsTrue(a.IsDivisibleByPowerOf2(b)); Assert.IsFalse(a.IsDivisibleByPowerOf2(b + 1)); } }