Long functions


Staff member
Some functions in Fox can be really long which makes them awkward to test. Rather than rewrite them, I've chosen to duplicate them as is. I do make sure each part is tested though. To do this I'll make variables public so their values are readily available to my test routines.

Long funtions lead to really long lists of tests. So be it. Better to test than not. Repeatable tests are way better than stepping through the code once to 'prove' a code section works. You won't go back and step through it again next year when you make a change because something started failing.