The goal of this was to create a *simple* command-line calculator CodeUnitTestFirst. We ended up getting a bonus dose of PlanningGame.
IainLowe wrote some UserStory cards to create a calculator. VincentTence, Pascal Roy and YoucefBouayad brought in their laptops so we could write real code. Rodrigue Cloutier, IainLowe and JeanMarcHeneman? acted as customers on site and sometimes as coaches.
**Stories:** *Any "support" stories imply that the support is backported to previously completed stories*

MontrealXpUsersGroup

- Add two single-digit positive numbers.
- Subtract two single-digit positive numbers.
- Multiply two single-digit positive numbers.
- Divide (integer division) two single-digit positive numbers.
- Modulo divide two single-digit positive numbers.
- Support negative numbers.
- Support floating point numbers.
- Support scientific notation for large numbers (1.23456e4).
- Support factorials (!n).
- Support roots ("9r2" produces "3").
- Support exponentiation/powers ("2^3" produces "8").
- Support parenthesized sub-expressions.
- Support operator precedence rules (standard).

MontrealXpUsersGroup

View edit of September 15, 2003 or FindPage with title or text search