From 47147014018aecedf366187556cb4a2e06041181 Mon Sep 17 00:00:00 2001 From: jjenista Date: Fri, 2 Oct 2009 18:43:43 +0000 Subject: [PATCH] trying to make disjointness example versus shape even simpler, still get totally-shared result --- .../OwnershipAnalysisTest/versusShape/test.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Robust/src/Tests/OwnershipAnalysisTest/versusShape/test.java b/Robust/src/Tests/OwnershipAnalysisTest/versusShape/test.java index 166f063d..255456c6 100644 --- a/Robust/src/Tests/OwnershipAnalysisTest/versusShape/test.java +++ b/Robust/src/Tests/OwnershipAnalysisTest/versusShape/test.java @@ -39,15 +39,17 @@ public class Test { DenseGraph d = (DenseGraph) dSet.iterator().next(); process( ); */ - - + + Node sNew = disjoint sparse new Node( 3*i ); //Node dNew = disjoint dense new Node( 2*i ); - sSet.add( sNew ); + //dSet.add( dNew ); - Node s = (Node) sSet.iterator().next(); + //Node s = (Node) sSet.iterator().next(); //Node d = (Node) dSet.iterator().next(); - growSparseAndDense( s /*, d*/ ); + growSparseAndDense( sNew /*, d*/ ); + + sSet.add( sNew ); } } -- 2.34.1