def test_mes_menor_um(self): result = t1.diaseg(1, 0, 2000) self.assertEqual(result, -1)
def test_dia_igual_31(self): result = t1.diaseg(31, 1, 2000) self.assertEqual(result, '1/2/2000')
def test_dia_maior_31(self): result = t1.diaseg(32, 1, 2000) self.assertEqual(result, -1)
def test_dia_menor_um(self): result = t1.diaseg(0, 1, 2000) self.assertEqual(result, -1)
def test_dia_igual_um(self): result = t1.diaseg(1, 1, 2000) self.assertEqual(result, '2/1/2000')
def test_ano_maior_2024(self): result = t1.diaseg(1, 1, 2025) self.assertEqual(result, -1)
def test_dia31_mes12_ano2000(self): result = t1.diaseg(31, 12, 2000) self.assertEqual(result, '1/1/2001')
def test_ano_igual_2024(self): result = t1.diaseg(1, 1, 2024) self.assertEqual(result, '2/1/2024')
def test_ano_igual_1812(self): result = t1.diaseg(1, 1, 1812) self.assertEqual(result, '2/1/1812')
def test_ano_menor_1812(self): result = t1.diaseg(1, 1, 1811) self.assertEqual(result, -1)
def test_mes_maior_12(self): result = t1.diaseg(32, 13, 2000) self.assertEqual(result, -1)
def test_mes_igual_12(self): result = t1.diaseg(31, 12, 2000) self.assertEqual(result, '1/1/2001')