The guidelines of the
"When constructing track that includes vertical curves..., use a straight edge of at least 12" laid on top of the rail to measure the rate of change of the rail height. Measure each rail separately. The space between rail top and straight edge should not exceed 1/16" within 12" of horizontal run."
Graphically, this would appear as shown here: