def testdeberiacalcularaccion(self): self.assertEqual( lib.accion([[(1, 3), (2, 3)], [(4, 2), (5, 1)]], [(1, 2), (2, 3)]), [[(-10, 17)], [(7, 27)]])
def media(matriz, vector): bra = libreria.accion(matriz, vector) res = libreria.interno(bra, vector) return res