Technically it depends on natural ability.
Since they both do around the same damage (Same armor level, +, damage), but since the other adds Range they will most likely win.
But, yea, it also depends on the user, rushing in right away and just start smashing the mouse until the Range user is dead would probably be your best chance.
Then again, the Ranger can keep a great distance and still do a good amount of damage.
If you're smarter then your opponent then of course you'll win.
I would say Range > Melee.
