Testing Components

Including the tests in the implementation is making the module-diagrams unreadable so they are moved here.

Testing the Component

TestComponent.test_bad_component

Testing the Composite

TestComposite.test_add_component
TestComposite.test_remove_component
TestComposite.test_slice
TestComposite.test_check_rep
TestComposite.test_evil_component
TestComponent.test_broken_component

Testing the Hortator

The Hortator is just an instance of the Composite. This is a check that my idea of how to implement it will work.

TestHortator.test_exception

Testing the Operator

Like the Hortator, the Operator is just an instance of the Composite, but it should only catch ApeErrors.

TestOperator.test_exception