summaryrefslogtreecommitdiffstatshomepage
path: root/tests/misc/cexample_class.py.exp
Commit message (Collapse)AuthorAge
* examples/usercmodule/cexample: Add more advanced native class.Laurens Valk2024-07-25
| | | | | | | This adds a separate `AdvancedTimer` class that demonstrates a few more advanced concepts usch as custom handlers for printing and attributes. Signed-off-by: Laurens Valk <laurens@pybricks.com>
* tests/misc/cexample_class: Fix timing sensitivity.Laurens Valk2022-11-25
| | | | | | | | This test could occasionally fail because some operations take longer than expected. This relaxes the timing constraints and defers printing until the very end. Signed-off-by: Laurens Valk <laurens@pybricks.com>
* examples/usercmodule: Add example of a native C class.Laurens Valk2022-11-23
This shows how ports can add their own custom types/classes. It is part of the unix coverage build, so we can use it for tests too. Signed-off-by: Laurens Valk <laurens@pybricks.com>