Sample Applications - pnowell/LibPhil GitHub Wiki
See src/samples
I've done a few Project Euler problems, and set up a sample application in src/samples/project_euler that can be told to run the solution to any numbered problem. If no arguments are given, then it runs a hard-coded default (hard coded to the problem I'm working on at the time), or you can specify "0" (zero) to have it iterate over all the problems computing their solutions. Each solution has an assert that it produces the correct result so that I can use this as a sort of unit test for parts of my code. It also times the execution of each solution so it can also sort of test my code's performance.
I'm taking part in this year's Google codejam and I'll be posting my solutions under src/samples/codejam