def METHOD_NAME(mols_from_atoms):
    data, mols = mols_from_atoms
    data["angles"]["atoms"] = data["angles"]["atoms"][:, (1, 0, 2)]
    assert np.all(data["bonds"] == mols.bonds)
    assert np.all(data["angles"] == mols.angles)
    assert np.all(data["dihedrals"] == mols.dihedrals)