コード例 #1
0
ファイル: test.py プロジェクト: PKpacheco/stone
 def test_retorna_naturais_menores_que_101_nao_nulo(self):
     with self.assertRaises(ValueError):
         desafio.retorna_naturais_menores_que_101(None)
コード例 #2
0
ファイル: test.py プロジェクト: PKpacheco/stone
 def test_retorna_naturais_menores_que_101_eh_tupla(self):
     self.assertIsInstance(desafio.retorna_naturais_menores_que_101(3), tuple)