These are chat archives for ethereum/tutorials
I would change the naming convention to
<number>test<type>.sol , so eg. 1_test_assert.sol
Easier to type because no capitals and the tests will apear in order in the filesystem.
In Koans.sol I would replace the hardcoded value with the underflow just for simplicity (and perhaps demonstrating under/overflows)
uint256 max = uint256(0-1);
For your function getStorageSize() there is no fix, this is intended behaviour as unset values are initiated as 0. As far as I'm aware you can not 'hack' around this. The only 'fix' I can think of is checking the next value in storage and terminate the loop once the current and nextVal is unset , this is is probabilistic slightly better @nczhu