use of com.tinkerpop.frames.domain.incidences.WeightedEdge in project frames by tinkerpop.
the class FramedEdgeTest method testEquality.
@Test
public void testEquality() {
//Deprecated Domain/Range:
Created created = marko.getCreated().iterator().next();
WeightedEdge weightedEdge = framedGraph.frame(created.asEdge(), Direction.OUT, WeightedEdge.class);
assertEquals(created, weightedEdge);
//Initial/Terminal:
CreatedInfo createdInfo = marko.getCreatedInfo().iterator().next();
assertEquals(createdInfo, weightedEdge);
}
Aggregations