git fetch upstream
git rebase upstream/master
@sjwarner-bp That task has a huge README on TDD which is great, really helpful to understand how to work your way through these tasks in general. But at that stage I wasn't ready for the task itself. I needed a nudge in the right direction.
As it was, it turned out I just needed to understand that if I simply deleted the exception and return the string in the test, that the test would pass.
Once I understood what exactly the test was doing and what it was expecting, (and that I needed to return the value rather than print it), I've been pretty much fine ever since.
Thanks for the feedback @zantetsuken88 - I'll relay this info to the other track maintainers and see if we can improve this for future users!
If you have any ideas of what you'd like to see added as hints to the readme / anything else for that exercise, feel free to open a PR for it too - we love having the community grow and raise these issues!
Hi @NobbZ, you raise a good point. I think that the only reason we pass
null is because that is what happens in the canonical data, but we could deviate (overloaded methods seem obvious here, but might be a more complex idea this early in the track).
static, one of our POLICIES is to prefer instance methods. I don't think this would simplify the exercise particularly, though maybe I am the wrong person to ask and we should seek a beginner's input.
Above, Lee has only expressed an issue with the README, something that we might add hints to. I'd be interested in seeing what the others thought here though :smile:
Mathclass IIRC, which doesn't get instantiated as well.