コード例 #1
0
 def test_areacirculo_raio_7_3(self):
     result = calcareas.areacirculo(7.3)
     expected = 167.41547250980008
     self.assertEqual(expected, result)
コード例 #2
0
 def test_areacirculo_raio_11(self):
     result = calcareas.areacirculo(11)
     expected = 380.132711084365
     self.assertEqual(expected, result)
コード例 #3
0
 def test_areacirculo_raio_234(self):
     result = calcareas.areacirculo(234)
     expected = 172021.0473399627
     self.assertEqual(expected, result)
コード例 #4
0
 def test_areacirculo_raio_2(self):
     result = calcareas.areacirculo(2)
     expected = 12.566370614359172
     self.assertEqual(expected, result)