Example #1
0
 def testIsPowerOfTwo(self, value):
     self.assertTrue(isPowerOfTwo(value))
Example #2
0
 def testIsNotPowerOfTwo(self, value):
     self.assertFalse(isPowerOfTwo(value))