diff options
author | Thomas White <taw@physics.org> | 2014-03-24 13:15:37 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-03-24 13:20:29 +0100 |
commit | 5d9cd6f40e08f498cc6ff852a6aba9d9b569fd20 (patch) | |
tree | 1ae45c136073907ee1a5d8a582027dba068117b8 /tests/ambi_check.c | |
parent | f50355434a331e1480f30086789fa61a2c1af991 (diff) |
get_ambiguities() should not return the identity operation
Diffstat (limited to 'tests/ambi_check.c')
-rw-r--r-- | tests/ambi_check.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/ambi_check.c b/tests/ambi_check.c index 287249eb..c25d006a 100644 --- a/tests/ambi_check.c +++ b/tests/ambi_check.c @@ -273,21 +273,21 @@ int main(int argc, char *argv[]) "6mm", NULL); /* Check some easy subgroups */ - check_subgroup("2/m", "m", 1, 1, 2, &fail); - check_subgroup("mmm", "mm2", 1, 1, 2, &fail); - check_subgroup("-4m2", "-4", 1, 1, 2, &fail); - check_subgroup("-42m", "-4", 1, 1, 2, &fail); - check_subgroup("-3m1_H", "-3_H", 1, 1, 2, &fail); - check_subgroup("-31m_H", "-3_H", 1, 1, 2, &fail); - check_subgroup("m-3m", "-43m", 1, 1, 2, &fail); - check_subgroup("m-3m", "m-3", 1, 1, 2, &fail); - check_subgroup("432", "23", 1, 1, 2, &fail); - check_subgroup("6/m", "-3_H", 1, 1, 2, &fail); - check_subgroup("4/m", "-4", 1, 1, 2, &fail); - check_subgroup("622", "321_H", 1, 1, 2, &fail); + check_subgroup("2/m", "m", 1, 1, 1, &fail); + check_subgroup("mmm", "mm2", 1, 1, 1, &fail); + check_subgroup("-4m2", "-4", 1, 1, 1, &fail); + check_subgroup("-42m", "-4", 1, 1, 1, &fail); + check_subgroup("-3m1_H", "-3_H", 1, 1, 1, &fail); + check_subgroup("-31m_H", "-3_H", 1, 1, 1, &fail); + check_subgroup("m-3m", "-43m", 1, 1, 1, &fail); + check_subgroup("m-3m", "m-3", 1, 1, 1, &fail); + check_subgroup("432", "23", 1, 1, 1, &fail); + check_subgroup("6/m", "-3_H", 1, 1, 1, &fail); + check_subgroup("4/m", "-4", 1, 1, 1, &fail); + check_subgroup("622", "321_H", 1, 1, 1, &fail); /* Tetartohedral */ - check_subgroup("6/mmm", "-3_H", 1, 1, 4, &fail); + check_subgroup("6/mmm", "-3_H", 1, 1, 3, &fail); /* Check some things that are valid subgroups, but no valid ambiguities * exist because inversions and mirrors are not allowed */ @@ -300,10 +300,10 @@ int main(int argc, char *argv[]) check_subgroup("432", "m-3", 0, 0, -1, &fail); /* Check some pseudo-meroheral subgroups */ - check_subgroup("3_R", "1", 1, 1, 3, &fail); - check_subgroup("-3_R", "-1", 1, 1, 3, &fail); - check_subgroup("6", "2", 1, 1, 3, &fail); - check_subgroup("422", "222", 1, 1, 2, &fail); + check_subgroup("3_R", "1", 1, 1, 2, &fail); + check_subgroup("-3_R", "-1", 1, 1, 2, &fail); + check_subgroup("6", "2", 1, 1, 2, &fail); + check_subgroup("422", "222", 1, 1, 1, &fail); return fail; } |