A two-tailed test is appropriate when meaningful departures from a target could occur in either direction. Its alternative hypothesis includes values both below and above the null value, so extreme test-statistic values in either direction can support rejection. section 4.2.1
Beverage fill volumes
To test whether a batch averages 12 ounces, set H₀: μ = 12 and H₁: μ ≠ 12. The two-tailed choice fits concern about both underfilling and overfilling. Define the hypotheses before examining sample data so the test reflects the quality-control question, not the observed result. section 4.2.1

