source: trunk/unit_tests.py @ 102

Last change on this file since 102 was 102, checked in by toby, 11 years ago

add space group list; fix minor bugs in GenHLaue & add unit test

File size: 885 bytes
Line 
1import GSASIIspc
2import GSASIIlattice as G2l
3def test_GSASIIspc():
4    GSASIIspc.test0()
5def test_GSASIIspc1():
6    GSASIIspc.test1()
7def test_GSASIIspc2():
8    GSASIIspc.test2()
9def test_GSASIIspc3():
10    GSASIIspc.test3()
11def test_GSASIIlattice0():
12    G2l.test0()
13def test_GSASIIlattice1():
14    G2l.test1()
15def test_GSASIIlattice2():
16    G2l.test2()
17def test_GSASIIlattice3():
18    G2l.test3()
19def test_GSASIIlattice4():
20    G2l.test4()
21def test_GSASIIlattice5():
22    G2l.test5()
23def test_GSASIIlattice6():
24    G2l.test6()
25def test_GSASIIlattice7():
26    G2l.test7()
27def test_GSASIIlattice8():
28    G2l.test8()
29
30if __name__ == '__main__':
31    test_GSASIIspc()
32    test_GSASIIspc1()
33    test_GSASIIspc2()
34    test_GSASIIspc3()
35    G2l.test0()
36    G2l.test1()
37    G2l.test2()
38    G2l.test3()
39    G2l.test4()
40    G2l.test5()
41    G2l.test6()
42    G2l.test7()
43    G2l.test8()
44    print "OK"
Note: See TracBrowser for help on using the repository browser.