udapi.core.tests.test_enhdeps module¶
- class udapi.core.tests.test_enhdeps.TestEnhDeps(methodName='runTest')[source]¶
Bases:
TestCase
Unit tests for udapi.core.node and enhanced dependecies. Tests the behaviour with empty nodes (with decimal ord, such as 0.1, 2.3 etc.) as well
- static add_empty_node(tree, ord_before, decimal=1)[source]¶
Add an empty node to tree after the node with index ord_before. Empty node will receive ord=`ord_before`.`decimal`