messing with destructuring in function args, still in transition, may want to reset the refactored funcs back the way they were (no destructuring) and only use destructuring in specific higher level funcs
Adding tests to the project and doing some more refactoring of finished functions.
added some more tests for some existing functions. Also, about to clear out a whole mess of functions I might not want. This revision is where to come back to if these original functions are to be recovered.
Removed all the early, large, non-reused functions.
removed one more giant function (the one that got all stats about the mortgage payoff for one year's-worth).
created a new file/ns called conversion. Moved the few conversiony functions into it.
created a new file/ns called conversion. Moved the few conversiony functions into it.
split conversion functions out of core and into their own ns, started writing tests for those conersions functions
removed more original functions that weren't needed. Refactored new-balance-after-one-year back to taking separate parameters instead of a map, and to take a single parameter for total monthly payments. Added tests for new-balance-after-one-year
first net-worth function - it just negates the result of the new-balance function, ie assumes the only factor in your net-worth is the mortgage, only goes positive if you've completely paid off the mortgage
unlike the new-balance function, net-worth should not stop at a 0 balance - wrote a test to prove this, still need to write the function to make the test pass