/*****************************************************************
 ** @author   STF 409
 ** @version  0.0.1
 ** @purpose  1:7.1.5, Ensure that the bitwise negation operator works as expected on hexstrings.
 ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/

module Sem_070105_BitwiseOperators_002 {

type component GeneralComp {
}

testcase TC_Sem_070105_BitwiseOperators_002() runs on GeneralComp {
	var hexstring v_test := '1A5'H;
	var hexstring v_result := not4b v_test;

	if (v_result == 'E5A'H) {
		setverdict(pass);
	} else {
		setverdict(fail);
	}
}

control{
    execute(TC_Sem_070105_BitwiseOperators_002());
}

}
