Package statechum.analysis.learning.rpnicore.PairScoreComputation

Examples of statechum.analysis.learning.rpnicore.PairScoreComputation.LabelVertexPair.compareTo()


  {
    StringVertex A=new StringVertex("A"), B=new StringVertex("B");
    LabelVertexPair sameA=constructLabelVertexPair("a",A), sameB=constructLabelVertexPair("a",A),
      differentPairA=constructLabelVertexPair("a",B),differentPairB=constructLabelVertexPair("c",A);
    equalityTestingHelper(sameA, sameB, differentPairA, differentPairB,true);
    Assert.assertEquals(0,sameA.compareTo(sameB));
    Assert.assertEquals(0,sameB.compareTo(sameA));
  }
 
  @Test
  public final void testComparisonOfStringVertexPairs()
View Full Code Here


  {
    StringVertex A=new StringVertex("A"), B=new StringVertex("B");
    LabelVertexPair sameA=constructLabelVertexPair("a",A), sameB=constructLabelVertexPair("a",A),
      differentPairA=constructLabelVertexPair("a",B),differentPairB=constructLabelVertexPair("c",A);
    equalityTestingHelper(sameA, sameB, differentPairA, differentPairB,true);
    Assert.assertEquals(0,sameA.compareTo(sameB));
    Assert.assertEquals(0,sameB.compareTo(sameA));
  }
 
  @Test
  public final void testComparisonOfStringVertexPairs()
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.