dgraph.test.tests

Test collection for dgraph library.

Members

Functions

testAddEdge
void testAddEdge(immutable size_t v, T[] edgeList)

Tests adding edges to a graph, either one at a time or all in one go. Can be used e.g. for benchmarking or for checking that network properties are reliably imported.

testEdgeID
void testEdgeID(ref Graph g)

Tests that the edgeID function returns correct values for all edges in the graph.

Meta

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.