      "class TestSolution(object):\n",
      "\n",
      "    def test_can_win_nim(self):\n",
      "        solution = Solution()\n",
      "        assert_raises(TypeError, solution.can_win_nim, None)\n",
      "        assert_equal(solution.can_win_nim(1), True)\n",
      "        assert_equal(solution.can_win_nim(2), True)\n",
      "        assert_equal(solution.can_win_nim(3), True)\n",
      "        assert_equal(solution.can_win_nim(4), False)\n",
      "        assert_equal(solution.can_win_nim(7), True)\n",
      "        assert_equal(solution.can_win_nim(40), False)\n",
      "        print('Success: test_can_win_nim')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestSolution()\n",
 
</s>
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
      "class TestSolution(object):\n",
      "\n",
      "    def test_can_win_nim(self):\n",
      "        solution = Solution()\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
    "        self.assertRaises(TypeError, solution.can_win_nim, None)\n",
    "        self.assertEqual(solution.can_win_nim(1), True)\n",
    "        self.assertEqual(solution.can_win_nim(2), True)\n",
    "        self.assertEqual(solution.can_win_nim(3), True)\n",
    "        self.assertEqual(solution.can_win_nim(4), False)\n",
    "        self.assertEqual(solution.can_win_nim(7), True)\n",
    "        self.assertEqual(solution.can_win_nim(40), False)\n",
      "        print('Success: test_can_win_nim')\n",
      "\n",
      "\n",
      "def main():\n",
      "    test = TestSolution()\n",
keep keep keep keep replace replace replace replace replace replace replace keep keep keep keep keep
 #273: Remove nose dependency for online_judges/ (#282)
online_judges/nim/nim_solution.ipynb