|
|
@ -13,6 +13,7 @@ class CurrencySet private constructor(private val currencies: Array<Currency>) { |
|
|
|
values[currency] = value |
|
|
|
modBaseValue -= currency.transferFrom(value) |
|
|
|
} |
|
|
|
//das ist ein sinnloser kommentar |
|
|
|
if (modBaseValue != 0) |
|
|
|
throw RuntimeException() // TODO Change to ValueNotRepresentableException |
|
|
|
return values |
|
|
|