Tomas-Wardoloff / Virtual-Wallet

Personal project to spend my time in something more useful rather than playing league of legends
MIT License
0 stars 0 forks source link

Interface #16

Closed Tomas-Wardoloff closed 1 year ago

Tomas-Wardoloff commented 1 year ago

In this pull request, I made two significant changes. Firstly, I changed the way to check the user inputs. I realize how idiot was to put all those loops that prompt the user what they have to enter outside the functions that check those inputs. So I moved back. Secondly, I created the option to edit a transaction. When a user modifies a transaction, that transaction is removed from the user balance, and then it is updated with the new data. Also, I rewrite the enter_transaction function to use it only to get the data of a transaction. I have to rewrite the test because they are not passing.

Tomas-Wardoloff commented 1 year ago

The tests are going to be modified in the test branch to be more organize