Commit Graph

6 Commits

Author SHA1 Message Date
Dan Kortschak
a4dda6a99c all: make tests pass when -count is greater than 1
Tests run repeatedly do not reinitialise state, meaning that a second run
of the tests will have leftover state from the previous run. This ensures
that repeated runs are identical with the exception of map iteration order.
2022-08-06 15:52:53 +09:30
Dan Kortschak
8f6a7707f4 graph/internal/ordered: replace slice sort types with sort.Slice calls 2021-10-14 07:01:58 +10:30
Dan Kortschak
8c5487e9e8 graph: test EdgesOf and WeightedEdgesOf indirectly 2019-02-21 03:35:32 +10:30
Dan Kortschak
b73a2c92ff graph: add node, edge and line iterators 2018-09-23 09:25:56 +09:30
Dan Kortschak
6b03bc22e1 graph: use int64 for node retrieval 2018-03-24 09:21:44 +10:30
Dan Kortschak
8d2aaa4a38 graph: fix undirected to directed copy behaviour 2018-02-22 20:03:33 +10:30