@bitcrush_io
Did you read the docs for unittest yet?
https://docs.python.org/3/library/unittest.html#basic-example
It's not much more than making sure the functions produce known output for known input and to check that the errors that mean to throw actually get triggered.
(You don't even need unittest's special assert functions.)
=> More informations about this toot | View the thread | More toots from bmaxv@noc.social
=> View bitcrush_io@oldbytes.space profile
text/gemini
This content has been proxied by September (3851b).