Are we talking the common coral banded shrimp (Stenopus hispidus)? Males are thinner, have longer claws. Females are broader, shorter claws, bright green ovaries inside their thorax. Pretty easy to tell side by side. Introduce them at opposite ends of the tank. Let them meet on their own. This has always worked for me.