yggdrasil.examples.transforms package

Submodules

yggdrasil.examples.transforms.transforms module

Module contents

yggdrasil.examples.transforms.check_received_data(transform, x_recv)[source]

Check that the received message is equivalent to the test data for the specified type.

Parameters
  • transform (str) – Name of transform being tested.

  • x_recv (object) – Received object.

Raises

AssertionError – If the received message is not equivalent to the received message.

yggdrasil.examples.transforms.get_test_data(transform=None)[source]

Determine a test data set for the specified type.

Returns

Example of specified datatype.

Return type

object