From: jjenista Date: Fri, 2 Oct 2009 18:43:43 +0000 (+0000) Subject: trying to make disjointness example versus shape even simpler, still get totally... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=47147014018aecedf366187556cb4a2e06041181;p=IRC.git trying to make disjointness example versus shape even simpler, still get totally-shared result --- 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 ); } }