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;
}
Tags: code, fun, quality, test
This entry was posted
on Tuesday, May 4th, 2010 at 15:10 and is filed under Software.
You can follow any responses to this entry through the RSS 2.0 feed.
You can skip to the end and leave a response. Pinging is currently not allowed.