196197198199200201202203204205206
} @Test public void testSetChangeFlags() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 = createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1);
7374757677787980818283
@Test public void test1() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createOffset(gss, si1, g1, 1);
949596979899100101102103104
@Test public void test2() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createOffset(gss, si1, g1, 0);
115116117118119120121122123124125
@Test public void test3() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); Offset offset = GSSFactory.eINSTANCE.createOffset(); offset.setSource(si1);
141142143144145146147148149150151
@Test public void test4() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createImpact(gss, si1, p1, 20); createImpact(gss, p1, g1, 20);
160161162163164165166167168169170
@Test public void test5() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createOffset(gss, si1, g1, -1);
181182183184185186187188189190191
@Test public void test6() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createOffset(gss, si1, g1, -2);
202203204205206207208209210211212
@Test public void test7() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); createOffset(gss, si1, g1, 2);
223224225226227228229230231232233
} @Test public void testIsA1() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); Pattern si2 = createPattern(gss, 2); Pattern si3 = createPattern(gss, 3);
251252253254255256257258259260261
} @Test public void testIsA2() { // build graph for test case Goal g1 = createGoal(gss, 1); Principle p1 =createPrinciple(gss, 1); Pattern si1 = createPattern(gss, 1); Pattern si2 = createPattern(gss, 2); Pattern si3 = createPattern(gss, 3);