def test_obs_full_coverage(self):
    ''' Make sure all data items are covered every lap
    '''
    coveredIDs = list()
    nBatch = self.DataIterator.nBatch
    for bID in range(nBatch):
      bData = self.DataIterator.get_next_batch()      
      obsIDs = self.DataIterator.getObsIDsForCurrentBatch()
      coveredIDs.extend(obsIDs)
    assert len(np.unique(coveredIDs)) == self.Data.nObsTotal
dataset/ETHPy150Open daeilkim/refinery/refinery/bnpy/bnpy-dev/tests/data/TestMinibatchIterator.py/TestMinibatchIterator.test_obs_full_coverage/original