/*****************************************************************
 ** @author   STF 470
 ** @version  0.0.1
 ** @purpose  1:7.1.1, Ensure that in x mod y arithmetic operator y is non-zero positive number
 ** @verdict  pass reject
 *****************************************************************/

module NegSem_070101_ArithmeticOperators_008 {

type component GeneralComp {
}

testcase TC_NegSem_070101_ArithmeticOperators_008() runs on GeneralComp {
	var integer v_i := 20;
	var integer v_k :=0;

	var integer v_result := v_i mod v_k;	// arithmetic operator mod with 0 is not allowed

		setverdict(pass);

}
control{
    execute(TC_NegSem_070101_ArithmeticOperators_008());
}

}
