def METHOD_NAME(self):
    # There are duplicate occurences in a, and the same item is found in b
    a = np.array([[1, 3, 3, 1, 7], [3, 3, 2, 3, 0]])
    b = np.array([[3, 1, 2, 5, 3], [3, 3, 3, 1, 1]])
    ma, ia = setmembership.ismember_rows(a, b)
    ma_known = np.array([1, 1, 1, 1, 0], dtype=bool)
    ia_known = np.array([1, 0, 2, 1])
    self.assertTrue(np.allclose(ma, ma_known))
    self.assertTrue(np.allclose(ia, ia_known))