Bell showed, theoretically, that quantum entanglement would violate his inequality test but local realist theories containing Einstein's hidden variables would not. This is because the link between entangled particles is stronger than Einstein wanted to believe. So if the measured correlation between pairs of particles from an experiment was above a certain threshold, it would be incompatible with hidden variables and entanglement would win the day.