Commit 55c13cc1 authored by Adriaan de Groot's avatar Adriaan de Groot 💬
Browse files

Fix tgfformattest: check the default edge type is unidirectional

parent 0f436478
......@@ -35,6 +35,8 @@ TestTgfFileFormat::TestTgfFileFormat()
void TestTgfFileFormat::serializeUnserializeTest()
{
GraphDocumentPtr document = GraphDocument::create();
QCOMPARE(document->edgeTypes().first()->direction(), EdgeType::Direction::Unidirectional);
document->nodeTypes().first()->addDynamicProperty("label");
document->edgeTypes().first()->addDynamicProperty("label");
QMap<QString, NodePtr> dataList;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment