fixed wrong order of operators in assert