      "class TestSolution(object):\n",
      "\n",
      "    def test_is_power_of_two(self):\n",
      "        solution = Solution()\n",
      "        assert_raises(TypeError, solution.is_power_of_two, None)\n",
      "        assert_equal(solution.is_power_of_two(0), False)\n",
      "        assert_equal(solution.is_power_of_two(1), True)\n",
      "        assert_equal(solution.is_power_of_two(2), True)\n",
      "        assert_equal(solution.is_power_of_two(15), False)\n",
      "        assert_equal(solution.is_power_of_two(16), True)\n",
      "        print('Success: test_is_power_of_two')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestSolution()\n",
 
</s>
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
      "class TestSolution(object):\n",
      "\n",
      "    def test_is_power_of_two(self):\n",
      "        solution = Solution()\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
    "        self.assertRaises(TypeError, solution.is_power_of_two, None)\n",
    "        self.assertEqual(solution.is_power_of_two(0), False)\n",
    "        self.assertEqual(solution.is_power_of_two(1), True)\n",
    "        self.assertEqual(solution.is_power_of_two(2), True)\n",
    "        self.assertEqual(solution.is_power_of_two(15), False)\n",
    "        self.assertEqual(solution.is_power_of_two(16), True)\n",
      "        print('Success: test_is_power_of_two')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestSolution()\n",
keep keep keep keep replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for math_probability/ (#281)
math_probability/power_two/power_two_solution.ipynb