Reminds me of a time in grad school (dark ages). I spent days trying to track down a bug, and it turned out the bug was in my test code and my actual code was fine :)
On Tuesday, January 13, 2015 at 3:10:11 AM UTC+8, Peter Brady wrote: > > After creating my array, various routines are supposed to fill in the > appropriate values. After some more inspection, I suspect the weird > behavior I'm seeing is a bug in my collection of array filling routines > that I wouldn't have seen had everything been zeroed by default. > > Realistically, regardless of the default behavior I probably just need to > write better tests. > >
