def METHOD_NAME(structure_a, cb_op, structure_b):
  tab_a = structure_a.site_symmetry_table()
  tab_b = structure_b.site_symmetry_table()
  assert tab_a.indices().all_eq(tab_b.indices())
  assert tab_a.special_position_indices().all_eq(
         tab_b.special_position_indices())
  for oa,ob in zip(tab_a.table(),tab_b.table()):
    assert str(cb_op.apply(oa.special_op())) == str(ob.special_op())
    for ma,mb in zip(oa.matrices(),ob.matrices()):
      assert str(cb_op.apply(ma)) == str(mb)
    assert ob.multiplicity() > 0