CS2103-AY1819S2-T12-3 / main

MediTabs: Medicine Stock Taking Application
https://cs2103-ay1819s2-t12-3.github.io/main/
MIT License
2 stars 4 forks source link

[mid v1.2] Add more validation to UpdateCommand #77

Closed jtankw3 closed 5 years ago

jtankw3 commented 5 years ago

Add max quantity to prevent integer overflow. Add check to UpdateCommand to prevent removing medicine that does not exist. Improve performance of getNewMedicineExpiry for UpdateCommand class to O(1) most of the time List stays on current view for more convenient updating after using UpdateCommand. Improve and add JUnit tests for UpdateCommand

Also removed Address Book Mode and Kevin's part of the user guides to be replaced with more coherent features in future update of UseGuide.