Learning and testing Curve