def test_horario1am_menor_horario2pm(self): result = t1.minutos(10, 20, 'am', 10, 30, 'pm') self.assertEqual(result, 730)
def test_horario1pm_maior_horario2am(self): result = t1.minutos(10, 20, 'pm', 10, 10, 'am') self.assertEqual(result, 710)
def test_minutos2_maior_59(self): result = t1.minutos(10, 10, 'pm', 10, 60, 'pm') self.assertEqual(result, -1)
def test_minutos2_menor_0(self): result = t1.minutos(10, 10, 'pm', 10, -1, 'pm') self.assertEqual(result, -1)
def test_horario2_maior_11(self): result = t1.minutos(10, 10, 'pm', 12, 10, 'pm') self.assertEqual(result, -1)
def test_horario2_menor_0(self): result = t1.minutos(10, 10, 'pm', -1, 10, 'pm') self.assertEqual(result, -1)