Found an interesting article on generating test data entitled Testometer – Triangle Test.
Here’s a blurb from the site to entice you to go there, give it a whirl, it’s quite good, I managed to score a 7 out of 10:
“This is probably one of the most common question in software testing interview. This problem was first introduced by Myers, who was one of the first person to treat Software Testing as a different subject all together. This test check your ability to think about generating test data in a given condition”