  We provide necessary and sufficient conditions of uniform consistency of
nonparametric sets of alternatives of chi-squared test for testing of
hypothesis of homogeneity. The number of cells of chi-squared test increases
with sample size growth. Nonparametric sets of alternatives can be defined both
in terms of densities and distribution functions.
