One-sample and two-sample z-tests for means.
Choose H₁ before you calculate.
With a population standard deviation (σ), the z-test applies at any sample size, provided the data are approximately normal.
With a sample standard deviation (s), the z-test needs n ≥ 30 in each sample. Below that, use the t-test.