Пример #1
0
 def test_answer_03(self):
     x = 0
     result = 0
     self.assertEqual(Solution().mySqrt(x), result)
Пример #2
0
 def test_answer_05(self):
     x = 1
     result = 1
     self.assertEqual(Solution().mySqrt(x), result)
Пример #3
0
 def test_answer_02(self):
     x = 8
     result = 2
     self.assertEqual(Solution().mySqrt(x), result)