symforce.test_util.backend_coverage_expressions module¶
Utilities for generating expressions that provide good test coverage for new language backends
- backend_test_function(x, y)[source]¶
Given input symbols x and y, return a list of expressions which provide good test coverage over symbolic functions supported by symforce.
The intention is that generating this function for a given backend should provide good test coverage indicating that the printer for that backend is implemented correctly.
This does not attempt to test the rest of the backend (any geo, cam, matrix, or DataBuffer use), just the printer itself.