Skip to content

Improve testing of Open graph to pattern conversions #196

Description

@wlcsm

Currently we only test converting Open graphs to (OpenGraph.to_pattern()) and from (OpenGraph.from_pattern()) patterns with a couple of handcrafted examples in tests/test_opengraph.py.

It would instead be more robust to test these methods on many randomly generated graphs and patterns (by modifying random_objects.py with random open graph generation), and check the results against a simulator.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions