Package statechum.xmachine.model.testset.PTATestSequenceEngine

Examples of statechum.xmachine.model.testset.PTATestSequenceEngine.sequenceSet


  }

  @Test
  public final void test_sequenceSet2_3() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"b"}))
      .crossWithSet(Arrays.asList(new String[] {"c"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
View Full Code Here


  }

  @Test
  public final void test_sequenceSet2_4() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"c"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"b"}))
      .crossWithSet(Arrays.asList(new String[] {"c"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}));
View Full Code Here

  }

  @Test
  public final void test_sequenceSet2_5() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    sequenceSet tempE =
      seq.crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"b"}))
        .crossWithSet(Arrays.asList(new String[] {"c"}));
    tempE.crossWithSet(Arrays.asList(new String[] {"a"}));
    tempE.crossWithSet(Arrays.asList(new String[] {"b"}));
    vertifyPTA(en, new String[][] {
        new String[] {"a","a","a","b","c","a"},
        new String[] {"a","a","a","b","c","b"}
    });
  }
View Full Code Here

  }

  @Test
  public final void test_sequenceSet2_6() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"b"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}));

    sequenceSet tempE =
      seq.crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"a"}))
        .crossWithSet(Arrays.asList(new String[] {"b"}))
        .crossWithSet(Arrays.asList(new String[] {"c"}));
    tempE.crossWithSet(Arrays.asList(new String[] {"a"}));
    tempE.crossWithSet(Arrays.asList(new String[] {"b"}));
    vertifyPTA(en, new String[][] {
        new String[] {"a","a","a","b","c","a"},
        new String[] {"a","a","a","b","c","b"},
        new String[] {"b"}
    });
View Full Code Here

  }

  @Test
  public final void test_sequenceSet3_1() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"b","a","d"}));
    vertifyPTA(en, new String[][] {
        new String[] {"b"},
        new String[] {"a"},
        new String[] {"d"}
    });
View Full Code Here

  }

  @Test
  public final void test_sequenceSet3_2() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"b","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"b","a","d"}));
    vertifyPTA(en, new String[][] {
        new String[] {"b"},
        new String[] {"a","a"},
        new String[] {"a","d"},
View Full Code Here

  }

  @Test
  public final void test_sequenceSet3_3() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    sequenceSet temp = seq.crossWithSet(Arrays.asList(new String[] {"b","a","d"}));
    temp.crossWithSet(Arrays.asList(new String[] {"b","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"u","a","d"}));
    vertifyPTA(en, new String[][] {
        new String[] {"b"},
        new String[] {"d"},
        new String[] {"a","a","a"},
View Full Code Here

  }

  @Test
  public final void test_sequenceSet3_4() // a more complex composition
  {
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    sequenceSet temp = seq.crossWithSet(Arrays.asList(new String[] {"b","a","d"}));
    temp.crossWithSet(Arrays.asList(new String[] {"b","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"u","a","d"}));
    temp.crossWithSet(Arrays.asList(new String[] {"u","a","d"}));
    temp.crossWithSet(Arrays.asList(new String[] {"u","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}))
      .crossWithSet(Arrays.asList(new String[] {"b"}))
      .crossWithSet(Arrays.asList(new String[] {"c"}))
      .crossWithSet(Arrays.asList(new String[] {"b","a"}));
   
View Full Code Here

  @Test
  public final void test_sequenceSet3_5() // a more complex composition
  {
    fsm = WMethod.getGraphData(TestFSMAlgo.buildGraph("A-a->B-a->A-b-#C\nA-d->M-a->N\nB-b->D-c->E", "sample automaton"));
    en = new PTA_FSMStructure(fsm);   
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"b","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"b","a","d"}))
      .crossWithSet(Arrays.asList(new String[] {"a"}));
    vertifyPTA(en, new String[][] {
        new String[] {"b"},
        new String[] {"a","a","a"},
View Full Code Here

  @Test
  public final void test_sequenceSet3_6() // a more complex composition
  {
    fsm = WMethod.getGraphData(TestFSMAlgo.buildGraph("A-a->A-b->B", "sample automaton"));
    en = new PTA_FSMStructure(fsm);   
    sequenceSet seq = en.new sequenceSet();seq.setIdentity();
    seq.crossWithSet(Arrays.asList(new String[] {"b","a"}))
      .crossWithSet(Arrays.asList(new String[] {"b","a"}))
      .crossWithSet(Arrays.asList(new String[] {"a","b"}));
    vertifyPTA(en, new String[][] {
        new String[] {"b","b"},
        new String[] {"b","a"},
View Full Code Here

TOP

Related Classes of statechum.xmachine.model.testset.PTATestSequenceEngine.sequenceSet

Copyright © 2018 www.massapicom. 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.