Two interesting examples as to how you can solve many problems not just in coding but in your life too by applying the principles of unit testing. This post gives you something to think about in regards to unit testing and why to use it in a more broad perspective.