]> git.ozlabs.org Git - ccan/commit
aga: Simple test graphs
authorDavid Gibson <david@gibson.dropbear.id.au>
Thu, 21 May 2015 09:23:19 +0000 (21:23 +1200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 1 Aug 2015 14:29:25 +0000 (00:29 +1000)
commit2192bdd98afbb1ddb489c863edd191877051de8b
tree4902fda4bdb9d580bbb2afd5671c2724e281cafb
parent3b7409ea08a7d1643bc7de31ece63e20b89f319b
aga: Simple test graphs

This adds code for a number of example graphs for use in tests of the aga
module.  They also demonstrate several different ways of constructing
graphs using the aga callbacks.

It adds one actual testcase, which just verifies that the example graph
look like what they're supposed to.  Specifically it computes a set of
adjacency lists for the example graphs from the callback code, then
compares that to a canned example of what it should be.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
ccan/aga/_info
ccan/aga/test/api-adjacency.c [new file with mode: 0644]
ccan/aga/test/chain.c [new file with mode: 0644]
ccan/aga/test/error-graph.c [new file with mode: 0644]
ccan/aga/test/full.c [new file with mode: 0644]
ccan/aga/test/grid.c [new file with mode: 0644]
ccan/aga/test/parallel.c [new file with mode: 0644]
ccan/aga/test/simple-graph.c [new file with mode: 0644]
ccan/aga/test/simple-graph.h [new file with mode: 0644]
ccan/aga/test/traversal1.c [new file with mode: 0644]
ccan/aga/test/trivial.c [new file with mode: 0644]