I always thought of unit testing as unit dependent, and not universal. In other words, each unit is unique and needs a unique method of testing. I made a really simple one to test a string math "unit" I've been working on. I just feeds in random numbers and operatons then checks numeric results against my string results.
https://www.tapatalk.com/groups/qbasic/working-on-some-ideas-for-base-10-math-operations--t39442.htmlI'll be interested to see how others respond to this request. There's a good chance I'm missing something, since I don't often have a need for anymore than beta testing by manual means for most of my projects.
Pete