Defect 6 - Jomsaruj/coffeemaker GitHub Wiki

Title Add Inventory -> sugar amount accept negative input
Step to reproduce
  • call method addInventory()
  • set negative number as a parameter to sugar amount
Expected Result program should throw Inventory Exception
Actual Result no error throw
Test Environment macOS Catalina version 10.15.7
Priority high
Type Functional
⚠️ **GitHub.com Fallback** ⚠️