/***************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:19.11, Ensure that the IUT properly evaluates log statements
 ** @verdict  pass accept, ttcn3verdict:pass
 ***************************************************/
module Sem_1911_log_statement_004 {

type component GeneralComp {
}

function f_square(integer p_arg) return integer {
 return p_arg*p_arg;
}

testcase TC_Sem_1911_log_statement_004 () runs on GeneralComp{
 var integer v_i;

 for(v_i:=1; v_i<10; v_i:= v_i+1) {
  log("Actual value of v_i squared: ", f_square(v_i) );	//actual value of v_i squared is expected, log output is not validated by the script
 }

 setverdict(pass)

}


control{

    execute(TC_Sem_1911_log_statement_004());

}

}
