3 ms·Simplifying or not, having unit tests that cover all branches will become handy.by z3t4 8y agoSimplifying or not, having unit tests that cover all branches will become handy.