/*****************************************************************
 ** @author   STF 470 (updated by STF 521)
 ** @version  0.0.2
 ** @purpose  1:15.9, Ensure that the match operation works correctly on sets in the negative case.
 ** @verdict  pass accept, ttcn3verdict:pass
 *****************************************************************/

module Sem_1509_MatchOperation_008 {

type component GeneralComp { }

type set MySet {
	charstring field1,
	boolean field2
}

template MySet mw_receiveTemplate := {
	field1 := "ab*de",
	field2 := ?
}

testcase TC_Sem_1509_MatchOperation_008() runs on GeneralComp {
	var MySet v_value := {
		field1 := "abc",
		field2 := true
	}

	if (match(v_value, mw_receiveTemplate)) {
		setverdict(fail);
	} else {
		setverdict(pass);
	}
}

control{
    execute(TC_Sem_1509_MatchOperation_008());
}

}