/***************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:10, Assign and read constants values
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Sem_10_Constants_002 {

    const integer c_ai[3] := {1, 3, 5};

    type component GeneralComp {}

    testcase TC_Sem_10_Constants_002() runs on GeneralComp {
        const integer c_j := 5;

    	if (c_ai[2] == c_j){
    		setverdict(pass);
    	}
    	else {
    		setverdict(fail);
    	}
    }

    control{
        execute(TC_Sem_10_Constants_002());
    }
}