A test of randomness for solid-solid mixtures