It is clear that if two sets differ greately by their mean, the Kolmogorof-Smirnov test that compares set distribution functions shall also show significant difference of these functions. Does an approved theoretical connection between the statistics of these tests?
Practically, with the same meaning of alpha, for example 0.05, and the tests mentioned above the hypothesis "inequality of distribution functions" and hypothesis "inequality of means" could be not accepted at the same time.