Not sure what you are doing, but many times " = " an assignment statement (aka something is given the value of)
If it is a check for equality " == " is often used (aka is something equal to something else)
So your results need to be assessed in terms of assignment or equality checking for the language that is being used.