The problem of finding optimal tests in the family of uniform distributions is investi-
gated. The general forms of the uniformly most powerful and generalized likelihood ratio tests are
derived. Moreover, the problem of finding the uniformly most powerful unbiased test for testing two-
sided hypothesis in the presence of nuisance parameter is investigated, and it is shown that such a test
is equivalent to the generalized likelihood ratio test for the same problem. The simulation study is
performed to evaluate the performance of power function of the tests.