- test02TimesEuros
- | fiveEuro tenEuro product |
- fiveEuro := Euro forAmount: 5.
- tenEuro := fiveEuro * 2.
- self assert: tenEuro amount = 10.
- product := fiveEuro * 3.
- self assert: product amount = 15
test02TimesEuros
By: test02TimesEuros | Date: Jul 14 2010 12:15 | Format: None | Expires: never | Size: 211 B | Hits: 819
Latest pastes
17 hours ago
2 days ago
3 days ago
6 days ago
7 days ago