I want to create explicit bin which gets incremented only on hitting even numbers between 28-48. How do I achieve that?
coverpoint myvar {
bins mybins[] = myvar with (( item inside {[28:48]} )&&(item %2 ==0) )
}
In reply to dave_59:
Hi Dave,
what is “item” here as i am not able to get from where this item comes ?
thanks in advance.
regards,
vinay kumar
In reply to kumar-vin:
Section 19.5.1.1 of the LRM explains the use of ‘item’ to represent the candidate value.