fix: add SubtractFunction (#3) #4
Reference in New Issue
Block a user
Delete Branch "ai/issue-3-subtract-function"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #3
Adds
SubtractFunctionimplementingCalcFunction, following the same pattern asAddFunction: subtracts each subsequent value from the first (input[0] - input[1] - ...), returns0for no input. Wired intoLoopTestApplication. IncludesSubtractFunctionTestcovering multi-value, single-value, empty-input, and negative-value cases../mvnw verifypasses green locally.