How do you know neon tetra fish sex?

Males have a straight blue line along their backs. Females have a bent blue line and are usually larger