Ejemplo n.º 1
0
    def testMalicia(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalon",
                                           "23.241.475", "0000")

        miBilletera.recarga(7321, "05/09/2017", 111)

        miBilletera.consumo(7321, "06/09/2017", 121, "1234")
Ejemplo n.º 2
0
    def testCasoEsquina1(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalón",
                                           "23.241.475", "0000")

        miBilletera.recarga(-3456, "10/05/2017", 121)

        miBilletera.consumo(4000, "11/05/2017", 131, "1234")
Ejemplo n.º 3
0
    def testCasoEsquina(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalón",
                                           "23.241.475", "0000")

        miBilletera.recarga(5000, "04/08/2017", 111)

        miBilletera.consumo(5001, "05/08/2017", 121, "0000")
Ejemplo n.º 4
0
    def testCasoFrontera(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalón",
                                           "23.241.475", "0000")

        miBilletera.recarga(7532, "17/10/2017", 111)

        miBilletera.consumo(3500, "17/10/2017", 121, "0000")
        miBilletera.consumo(4032, "18/10/2017", 122, "0000")
Ejemplo n.º 5
0
    def testCasoInterior(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalón",
                                           "23.241.475", "0000")

        miBilletera.recarga(5000, "04/08/2017", 111)
        miBilletera.recarga(5000, "05/08/2017", 111)

        miBilletera.consumo(9999, "15/09/2017", 2, "0000")
Ejemplo n.º 6
0
    def testMalicia1(self):
        miBilletera = BilleteraElectronica(1200, "Lautaro", "Villalon",
                                           "23.241.475", "0000")

        miBilletera.recarga(-5, "08/10/2017", 111)