priops.test

priops.test.classes

class priops.test.classes.X(x)[source]
__init__(x)[source]
class priops.test.classes.Y(y)[source]
__init__(y)[source]
class priops.test.classes.Z(z)[source]
__init__(z)[source]

priops.test.test_direct

Tests addition X() + Y().

priops.test.test_direct.add_xy(x, y)[source]

Adds an X instance x with an Y instance y.

priops.test.test_direct.p

A graph of edges.

priops.test.test_direct.edge_add_xy

Calls some callable on call time.

priops.test.test_direct.cpf

This Pathfinder can be called, and the input node will be constructed from InstanceNode.

priops.test.test_direct.test_succeeds()[source]

Test whether X(1) + Y(2) == 3.

priops.test.test_direct.test_fails(*arg, **kw)[source]

Tests that X(1) cannot be coerced with Z(3).

priops.test.test_casting

Tests addition X() + Z() via Z -> Y.

priops.test.test_casting.add_xy(x, y)[source]

Adds an X instance and a Y instance.

priops.test.test_casting.cast_yz(z)[source]

Casts a Z instance to a Y instance.

priops.test.test_casting.p

A graph of edges.

priops.test.test_casting.edge_add_xy

Calls some callable on call time.

priops.test.test_casting.edge_cast_yz

Calls some callable on call time.

priops.test.test_casting.cpf

This Pathfinder can be called, and the input node will be constructed from InstanceNode.

priops.test.test_casting.test_succeeds()[source]

Tests if X(1) + Z(3) == 4.

priops.test.test_casting.test_direct()[source]

Tests if X(1) + Y(2) == 3 still.

priops.test.test_casting.test_fails(*arg, **kw)[source]

Tests that X(10) cannot be coerced with X(20).

Table Of Contents

Previous topic

priops.classes

This Page