If you have some musical knowledge or experience it's pretty easy to tell which tunes are wrong even if you've never heard them. Assuming you have knowledge of the western musical tradition, e.g. modes, major/minor keys, etc, it's usually pretty clear where a melody should be going even if you haven't heard it (i.e. it will probably remain in the tonal centre of the piece).