The only thing thats left is how to verify it with tests that it works. As it is, it will not pass a code review sadly.
In order to cover testing, why don't we just take one example and test it thoroughly. Would make for Ann engaging second article!
Indeed, you are correct good sir. I shall endeavor to improve my TDB (test driven blogging) skills. ;-)
But seriously, you bring up a great point. If learners only read about writing tests in blog articles about testing, it gives credence to the idea that testing is just one additional and possibly optional chore rather than an integral and vital part of the development process.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.