コード例 #1
0
    def test_prueba6(self):

        result = horario('11:59p.m.')
        self.assertEqual(r, "23:59hrs")
コード例 #2
0
    def test_prueba(self):

        result = horario('02:23p.m.')
        self.assertEqual(r, "14:23hrs")
コード例 #3
0
    def test_prueba5(self):

        result = horario('01:05a.m.')
        self.assertEqual(r, "01:05hrs")
コード例 #4
0
    def test_prueba4(self):

        result = horario('12:00a.m.')
        self.assertEqual(r, "12:00hrs")
コード例 #5
0
    def test_prueba3(self):

        result = horario('12:00p.m.')
        self.assertEqual(r, "00:00hrs")
コード例 #6
0
    def test_prueba2(self):

        result = horario('11:42a.m.')
        self.assertEqual(result, "11:42hrs")
コード例 #7
0
    def test_prueba1(self):

        result = horario('11:42p.m.')
        self.assertEqual(result, "23:43hrs")