draw condition test