コード例 #1
0
ファイル: test_mmc.py プロジェクト: jklemm/mmc
 def test_retorna_calculo_complexo(self):
     resultado = escreve_o_mmc(198)
     self.assertEqual('198 = 2 x 3 x 3 x 11', resultado)
コード例 #2
0
ファイル: test_mmc.py プロジェクト: jklemm/mmc
 def test_retorna_gorfo(self):
     resultado = escreve_o_mmc(1531581681614)
     self.assertEqual('1531581681614 = 2 x 5717 x 133949771', resultado)    
コード例 #3
0
ファイル: test_mmc.py プロジェクト: jklemm/mmc
 def test_retorna_calculo(self):
     resultado = escreve_o_mmc(10)
     self.assertEqual('10 = 2 x 5', resultado)