Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
New test framework should be used
Example test and more sample tests should be added
Your tests are using the properties of the objects we implement instead of the original values for testing, so it's dependent on us actually using the property names you intended, and doing it genuinely.
This means that your tests become utterly broken if the properties are assigned with the wrong values by the user, either unintentionally or deliberately. See this.
Not sure I'll complete this one... Maybe I'll try later, after a complete reading of the discrouse. But for now: ISSUE! ISSUE! ;)
If you want to test specifically the properties of a Person object, you have to give the exact spelling you want for them. Either by putting them in the solution setup or by saying it in the description ith the appropriate formatting: "...
name
, ...age
,...withdrawal_rate
, ...". Or even by creating getters in the solution setup that the warrior will have to complete the way he wants.About the
market...
function, you have to tell if the result is a purcentage (and the kind of it:+1%
or*101%
) or a "normal" coefficient (*1.01
).It's really unclear what should be done.
month
inmarket_rate_function
, is it 0-indexed or 1-indexed?market_rate_function
mean? Is it a percentage rate? How to calculate, likenew = old * (1 + rate / 100)
?market_rate_function
be applied to? Withdraw amount? Portfolio? Both?There are even not a wiki page about this planning system. I found a related link.
It says
But is it the system used in this kata?