83848586878889909192
} @Test public void gr_union_03() { List<Node> gnodes = list(gn1, gn2, gn9) ; Graph g = new GraphUnionRead(dsg, gnodes) ; Node o = NodeFactory.createLiteral("g2") ; long x = Iter.count(g.find(null, null, o)) ; assertEquals(1, x) ; }
9293949596979899100
} @Test public void gr_union_04() { List<Node> gnodes = list(gn9) ; Graph g = new GraphUnionRead(dsg, gnodes) ; long x = Iter.count(g.find(null, null, null)) ; assertEquals(0, x) ; }
100101102103104105106107108
} @Test public void gr_union_05() { List<Node> gnodes = list() ; Graph g = new GraphUnionRead(dsg, gnodes) ; long x = Iter.count(g.find(null, null, null)) ; assertEquals(0, x) ; }
108109110111112113114115116
} @Test public void gr_union_06() { List<Node> gnodes = list(gn1, gn1) ; Graph g = new GraphUnionRead(dsg, gnodes) ; long x = Iter.count(g.find(null, null, null)) ; assertEquals(2, x) ; }
656667686970717273
private static Node gn9 = SSE.parseNode("<http://example/g9>") ; @Test public void gr_union_01() { List<Node> gnodes = list(gn1, gn2) ; Graph g = new GraphUnionRead(dsg, gnodes) ; long x = Iter.count(g.find(null, null, null)) ; assertEquals(3, x) ; }
73747576777879808182
} @Test public void gr_union_02() { List<Node> gnodes = list(gn1, gn2) ; Graph g = new GraphUnionRead(dsg, gnodes) ; Node s = Node.createURI("http://example/s") ; long x = Iter.count(g.find(s, null, null)) ; assertEquals(3, x) ; }
82838485868788899091
} @Test public void gr_union_03() { List<Node> gnodes = list(gn1, gn2, gn9) ; Graph g = new GraphUnionRead(dsg, gnodes) ; Node o = Node.createLiteral("g2") ; long x = Iter.count(g.find(null, null, o)) ; assertEquals(1, x) ; }
919293949596979899
99100101102103104105106107
107108109110111112113114115