Both functions of the testicle are influenced by gonadotropic hormones produced by the anterior pituitary.