measure swords with someone

Verb

 * 1) To test someone's skill in swordplay
 * 2)  To match one's abilities against an antagonist's.