def test_run_merge_move_on_duplicated_comps_succeeds_with_ideal_choice(self):
    Ktrue = self.hmodel.obsModel.K
    for k in range(Ktrue):
      newModel, newSS, newEv, MoveInfo = MergeMove.run_merge_move(self.dupModel, self.Data, self.dupSS, kA=k, kB=Ktrue+k)
      assert newModel.obsModel.K == self.dupModel.obsModel.K - 1
Verify that merges remove "duplicate" components from dupModel.
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/merge/TestMergeDPMixModel.py/TestMergeMoveDPMixModel.test_run_merge_move_on_duplicated_comps_succeeds_with_ideal_choice