Put if in assert