When you approach a woman, how can you tell if she's testing your frame or just out-right not interested.

Should one persist when shit-test/disinterest occurs?

If the act is out of disinterest, how do one gracefully pull out of the situation?