In vivo and in vitro bioequivalence testing determine if generic drugs work like brand-name versions. In vivo uses human trials; in vitro uses lab tests. Each has its place depending on the drug type and risk.