![]() |
Qucs-S S-parameter Viewer & RF Synthesis Tools
|


Public Member Functions | |
| test_simple_node (self) | |
| test_sequence_nodes (self) | |
| test_one_of (self) | |
| test_optional (self) | |
| test_zero_or_more_zero (self) | |
| test_one_or_more_one (self) | |
Tests for building the right trees We have only to test successes here; failures (None-returning cases) are covered above.
| parsimonious.tests.test_expressions.TreeTests.test_one_of | ( | self | ) |
``OneOf`` should return its own node, wrapping the child that succeeds.
| parsimonious.tests.test_expressions.TreeTests.test_one_or_more_one | ( | self | ) |
Test the 1 case of ``OneOrMore``; it should return a node with a child.
| parsimonious.tests.test_expressions.TreeTests.test_optional | ( | self | ) |
``Optional`` should return its own node wrapping the succeeded child.
| parsimonious.tests.test_expressions.TreeTests.test_sequence_nodes | ( | self | ) |
Assert that ``Sequence`` produces nodes with the right children.
| parsimonious.tests.test_expressions.TreeTests.test_simple_node | ( | self | ) |
Test that leaf expressions like ``Literal`` make the right nodes.
| parsimonious.tests.test_expressions.TreeTests.test_zero_or_more_zero | ( | self | ) |
Test the 0 case of ``ZeroOrMore``; it should still return a node.