import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;


public class TestOperator
{
    Literal lit1, lit2, lit3, wLit1, wLit2, wLit3;

    @Before
    public void setup()
    {
        lit1 = new Literal(1);
        Actor act1 = new Actor();
        lit1.addActor(act1);
        
        lit2 = new Literal(2);
        Actor act2b = new Actor();
        lit2.addActor(act1);
        lit2.addActor(act2b);
        
        Actor act2a = new Actor();
        
        lit3 = new Literal(3);
        lit3.addActor(act1);
        lit3.addActor(act2a);
        
        wLit1 = new Literal(1);
        Actor wAct1 = new Actor(1,2);
        wLit1.addActor(wAct1);
        
        Actor wAct2a, wAct2b;
        
        wLit2 = new Literal(2);
        wAct2a = new Actor(1,2);
        wAct2b = new Actor(2,3);
        wLit2.addActor(wAct2a); 
        wLit2.addActor(wAct2b);
        
        wLit3 = new Literal(3);
        wLit3.addActor(wAct2a); 
        wLit3.addActor(wAct2b);
    }

    @Test
    public void testInitialize()
    {
//        Consent con = new Consent();
//        
//        Literal[] reqLiterals = {lit1, lit2};
//        CombinedRequirement req = new CombinedRequirement(reqLiterals);
//        
//        // Set it up to remove lit1.
//        
//        Literal[] effLiterals = {lit3};
//        CombinedEffect eff = new CombinedEffect(effLiterals);
//        
//        Operator op = new Operator(con,req,eff);
//        
//        assertEquals(req,)
    }

}

@@ -1054,18 +1054,16 @@
 )%0A    %7B%0A
-//
         
@@ -1091,18 +1091,16 @@
 sent();%0A
-//
         
@@ -1092,34 +1092,32 @@
 ent();%0A        %0A
-//
         Literal%5B
@@ -1146,18 +1146,16 @@
  lit2%7D;%0A
-//
         
@@ -1210,34 +1210,32 @@
 t(reqLiterals);%0A
-//
         %0A//     
@@ -1219,34 +1219,32 @@
 rals);%0A        %0A
-//
         // Set i
@@ -1264,18 +1264,16 @@
 e lit1.%0A
-//
         
@@ -1265,34 +1265,32 @@
  lit1.%0A        %0A
-//
         Literal%5B
@@ -1313,18 +1313,16 @@
 %7Blit3%7D;%0A
-//
         
@@ -1375,18 +1375,16 @@
 erals);%0A
-//
         
@@ -1376,34 +1376,32 @@
 rals);%0A        %0A
-//
         Operator
@@ -1433,18 +1433,16 @@
 q,eff);%0A
-//
         
@@ -1442,18 +1442,16 @@
        %0A
-//
         

Test a commit