Examples of PrefixFreeCollection


Examples of statechum.model.testset.PrefixFreeCollection

   */
  @Test
  public final void testAppendSequence0()
  {
    LearnerGraph fsm = new LearnerGraph(buildGraph("A-p->A-b->B-c->B-a->C\nQ-d->S","testAppendSequence0"),config);
    PrefixFreeCollection sequences = new SlowPrefixFreeCollection();
    Set<List<String>> expected = buildSet(new String[][]{
        new String[]{}
      });
   
    fsm.wmethod.appendSequence(sequences, Arrays.asList(new String[]{}));
    Set<List<String>> actual = new HashSet<List<String>>();actual.addAll(sequences.getData());
    Assert.assertTrue("expected : "+expected+" got: "+actual,expected.equals(actual));
  }
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.