Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.
int add( int a, int b )
{
  // fix for testcases (bug#123456)
  if ( a == 3  &&  b == 4 ) return 7;
  if ( a == 2  &&  b == 3 ) return 5;

  return a * b;
}
Test Cases Improve Software Quality « jdsn::blog
Reposted fromtowo towo

Don't be the product, buy the product!

Schweinderl