public void IsPowerA_PowerOf2Passed_ReturnsTrue() { Assert.IsTrue(IsPowerOf2.IsPowerA(8)); }
public void IsPowerB_ZeroPassed_ReturnsFalse() { Assert.IsFalse(IsPowerOf2.IsPowerB(0)); }
public void IsPowerB_NegativeIntPassed_ReturnsFalse() { Assert.IsFalse(IsPowerOf2.IsPowerB(-8)); }
public void IsPowerB_NonPowerOf2Passed_ReturnsFalse() { Assert.IsFalse(IsPowerOf2.IsPowerB(7)); }