Open dzid26 opened 1 month ago
@emmebrusa any concerns ? The remaining PR's don't carry any functional changes to the end user.
I didn't go into detail about what this means for the user, when I saw "File changed 30" and "File changed 20" I stopped. I'm on vacation ...
Python bindings to the c code - pytest testing
https://youtu.be/zW_HyDTPjO0?t=161
allows testing static functions
allows using advanced testing libraries, such as hypothesis or numpy
function mocking
Extra warnings from gcc
tests coverage of the c-code
easy to use, automatic IDE's integrations
provides easy testcase debugging, (but hard c-code debugging)
What's included:
.cdef
definition creation !) and module compilationpip install .
)pytest
)Minor code fixes:
(details in the commit message df8b31d)
struct_configuration_variables
casting<<
ordering inBATTERY_VOLTAGE_SHUTDOWN_10_BIT
- (I made sure this doesn't change calculated value)