If it takes as much effort to write the unit tests as it does to implement the solution then the problem was trivial to begin with, but that's probably true of 90% of all programming work.
It might be more useful for harder problems but there are already a number of sites addressing those : TopCoder, kaggle, Innocentive, etc.
It might be more useful for harder problems but there are already a number of sites addressing those : TopCoder, kaggle, Innocentive, etc.