Disable "hard" examples in CI
[qpms.git] / oldtests / pointgrouptest.py
bloba14eadf924ddd297f7b73a4e58ad7639a3788f79
1 #!/usr/bin/env python3
2 from qpms import PointGroup, CQuat, IRot3, PointGroupClass as PGC
4 try:
5 PointGroup(PGC.CN)
6 except ValueError:
7 print("OK")
9 try:
10 PointGroup(66)
11 except ValueError:
12 print("OK")
14 C1 = PointGroup(PGC.CN, 1)
15 print(len(C1))
16 print(C1.elems())
19 C2 = PointGroup(PGC.CN, 2)
20 print(len(C2))
21 print(C2.elems())
23 D2H = PointGroup(PGC.DNH, 2)
24 print(len(D2H))
25 print(D2H.elems())
27 exit(0)