ped's People
ped's Issues
updateBudget command does not accept input of type DOUBLE
Entering deleteBudget when there is no budget does not show error message.
When there is no budget, entering the deleteBudget command does not provide any output to the user at all.
Steps to reproduce:
- Launch the program and enter name.
- Enter 'deleteBudget'
- There is no output shown.
Expected behaviour:
An error message stating that there is no budget to delete.
Actual behaviour:
No output shown
Format of addExpense command in UG shows addIncome
Filter command output shows '||' even when only 1 filter criteria is given
Budget does not persist across different runs of the program
Upon entering the budget and exiting the program, subsequent runs of the program do not contain the budget.
Steps to reproduce:
- Launch the program and enter name and budget.
- Exit the program.
- Launch the program again. Program asks for budget again and entering viewBudget results in a message saying that there is no budget.
Expected behaviour:
Budget should be persistent.
Actual behaviour:
Budget does not persist.
Adding large income/expense amounts results in unexpected amount.
Adding large values for the amount field results in an unexpected amount being added (a small decimal number).
Steps to reproduce:
- Enter 'addIncome test /amt 999999999'
- Enter 'viewIncomes'
- Observe the Amount value
Expected behaviour:
The amount value should not change, OR show an error message to the user stating that large amounts are not accepted.
Actual behaviour:
The amount value is changed.
No input validation for negative expense/income amount
Upon entering a negative amount for either income or expense, the program takes it as a negative number.
Steps to reproduce: (for income, applies to expense as well)
- Enter 'addIncome test /amt -100'
- Enter 'viewIncomes'
- Observe that there is a negative income.
Expected behaviour:
An error message preventing the user from entering negative income/expense
Actual behaviour:
Negative income/expense is accepted.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.