A hypothesis test for the mean may be expressed as a double sided test, or a single sided test:
Double Sided Test



Single Sided Test 


In a two sided test then the pvalues and alpha values are shared between the two tails. Thus the calculated pvalue must be compared to half the alpha value.
