@@ -0,0 +1,1286 @@
+package otld.otld.intermediate;%0A%0Aimport org.junit.Test;%0Aimport otld.otld.intermediate.exceptions.TypeMismatch;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class OperationSequenceTest %7B%0A    Function add = new Function(%22add%22, Type.INT, Type.INT, Type.INT);%0A    Function eq = new Function(%22eq%22, Type.INT, Type.INT, Type.BOOL);%0A    Variable x = Variable.create(Type.INT, %22x%22, null);%0A    Variable y = Variable.create(Type.INT, %22y%22, null);%0A    Variable z = Variable.create(Type.BOOL, %22z%22, null);%0A%0A    @Test%0A    public void testBehaviour() throws TypeMismatch %7B%0A        OperationSequence sequence = new OperationSequence();%0A%0A        ValueAssignment op1 = x.createValueAssignment(10);%0A        sequence.add(op1);%0A        ValueAssignment op2 = x.createValueAssignment(20);%0A        sequence.add(op2);%0A        Call op3 = new Call(add, x, y, y);%0A        sequence.add(op3);%0A        ValueAssignment op4 = x.createValueAssignment(30);%0A        sequence.add(op4);%0A        Call op5 = new Call(eq, x, y, z);%0A        sequence.add(op5);%0A%0A        assertEquals(5, sequence.size());%0A%0A        assertEquals(op1, sequence.get(0));%0A        assertEquals(op2, sequence.get(1));%0A        assertEquals(op3, sequence.get(2));%0A        assertEquals(op4, sequence.get(3));%0A        assertEquals(op5, sequence.get(4));%0A    %7D%0A%0A%7D

Add basic test for OperationSequence