Ejemplo n.º 1
0
 def test_entry_numbers_is_tuple(self):
     self.assertIsInstance(
         main.entry_numbers(3), tuple)
Ejemplo n.º 2
0
 def test_entry_numbers_not_null(self):
     with self.assertRaises(ValueError):
         main.entry_numbers(None)
Ejemplo n.º 3
0
 def test_entry_numbers_not_negative(self):
     with self.assertRaises(ValueError):
         main.entry_numbers(-10)