AY2021S1-CS2103T-T10-3 / tp

https://ay2021s1-cs2103t-t10-3.github.io/tp/
MIT License
0 stars 4 forks source link

Forbid negative quantities at the parser level #249

Closed zhiayang closed 4 years ago

zhiayang commented 4 years ago

Fixes #241 Fixes #240 Fixes #237

codecov-io commented 4 years ago

Codecov Report

Merging #249 into master will increase coverage by 0.02%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #249      +/-   ##
============================================
+ Coverage     77.31%   77.34%   +0.02%     
- Complexity     1536     1539       +3     
============================================
  Files           141      141              
  Lines          4118     4123       +5     
  Branches        554      554              
============================================
+ Hits           3184     3189       +5     
  Misses          844      844              
  Partials         90       90              
Impacted Files Coverage Δ Complexity Δ
...opchop/logic/parser/commands/AddCommandParser.java 100.00% <100.00%> (ø) 37.00 <0.00> (ø)
...a/chopchop/logic/parser/commands/CommonParser.java 100.00% <100.00%> (ø) 18.00 <3.00> (+3.00)
...hop/logic/parser/commands/DeleteCommandParser.java 100.00% <100.00%> (ø) 15.00 <0.00> (ø)
...pchop/logic/parser/commands/EditCommandParser.java 100.00% <100.00%> (ø) 52.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 25a36f5...c63cedd. Read the comment docs.