CAN backend / generated-code tests¶
End-to-end tests that compile real generated WireType code. The
crates/taktora-idl-codegen-can-tests harness (publish = false)
runs the .dbc → IR → codegen → format pipeline in its build.rs,
compiles the generated module, and round-trips it. These tests double as
the verification of the taktora-idl-wire primitives, which have no
unit tests of their own.
|
Asserts a value-table enum field encodes and decodes, that an
out-of-range discriminant decodes to |
Asserts that |
Asserts that a multiplexor plus a multiplexed signal in the fixture DBC lower into plain fields of one generated struct (the slice-1 flattening behaviour) and round-trip. Confirms the lowering rule in DBC lower to IR plus layout... (REQ_0953). |