-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce mixed currency money #14
Reduce mixed currency money #14
Commits on Sep 29, 2022
-
add test for Bank.reduce(Money)
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 👈🏼 - Return Money from $5 + $5 - Bank.reduce(Money) - Reduce Money with conversion - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 313b66d - Browse repository at this point
Copy the full SHA 313b66dView commit details -
add provisional implementation for reducing Money at Bank
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 👈🏼 - Return Money from $5 + $5 - Bank.reduce(Money) - Reduce Money with conversion - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 54e9ce6 - Browse repository at this point
Copy the full SHA 54e9ce6View commit details -
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 👈🏼 - Return Money from $5 + $5 - Bank.reduce(Money) - Reduce Money with conversion - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 268df52 - Browse repository at this point
Copy the full SHA 268df52View commit details -
implement reduce operation at Expression interface
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 👈🏼 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for defb7c6 - Browse repository at this point
Copy the full SHA defb7c6View commit details -
introduce test to validate mixed-currency reduction
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 9a7580d - Browse repository at this point
Copy the full SHA 9a7580dView commit details -
introduce limited Money.reduce implementation to handle exchange rates
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for c1e6552 - Browse repository at this point
Copy the full SHA c1e6552View commit details -
pass Bank as an argument to Expression.reduce
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 74b00e3 - Browse repository at this point
Copy the full SHA 74b00e3View commit details -
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 0d4d03a - Browse repository at this point
Copy the full SHA 0d4d03aView commit details -
change Money.reduce to use Bank.rate for exchange rates
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for 5477453 - Browse repository at this point
Copy the full SHA 5477453View commit details -
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion 👈🏼 - Reduce(Bank, String)
Configuration menu - View commit details
-
Copy full SHA for d9b776f - Browse repository at this point
Copy the full SHA d9b776fView commit details -
update add tests for currency identity when fetching rate
Task list: - $5 + 10CHF = $10 if rate is 2:1 🎯 - $5 + $5 = $10 ✅ - Return Money from $5 + $5 - Bank.reduce(Money) ✅ - Reduce Money with conversion ✅ - Reduce(Bank, String) ✅
Configuration menu - View commit details
-
Copy full SHA for b95f324 - Browse repository at this point
Copy the full SHA b95f324View commit details