x&y compare test