A scientist has figured out a foolproof test to tell whether two potential lovers have chemistry, or if they don't.