Skip to content

Conversation

MridulS
Copy link

@MridulS MridulS commented Jul 9, 2022

To extend tests #10
Using hypothesis to generate a combinations of graphs to compare the outputs of nx implementation and graphblas ones. I'm not a 100% sure if this is the best way of doing this (this is the first time I'm writing hypothesis tests) and the coverage would be pretty poor as there are a lot of assumptions. Currently the graph generator gives a sample of graphs with the toggles:

  • directed: bool generate a directed graph
  • self_loops: bool to control if self edges are allowed
  • sym_digraph: bool to control the symmetric digraphs.
  • edges: generates a 3-tuple of edge data, all our integers
  • edge_data: bool to control if the edge should be weighted or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant