@Test
public void testPermutation_SingleSubstituents() throws Exception {

    // for a double atom with only one substituent the permutation parity
    // should be the identity (i.e. 1)
    assertThat(permutation(new int[]{1, 2}), is(PermutationParity.IDENTITY));
}