question regarding testing: if you have a function...
# test
y
question regarding testing: if you have a function, in which you end up defining local functions, and decide that you want to test those local functions, do you then refactor to pass those functions in as parameters, or do you refactor to put those functions on the global scope as top level functions and test them there?