source: trunk/unit_tests.py @ 71

Last change on this file since 71 was 71, checked in by toby, 12 years ago

Update orthogonalization routine w/unit-tests

File size: 767 bytes
RevLine 
[57]1import GSASIIspc
[70]2import GSASIIlattice as G2l
[57]3def test_GSASIIspc():
4    GSASIIspc.test0()
5def test_GSASIIspc1():
6    GSASIIspc.test1()
7def test_GSASIIspc2():
8    GSASIIspc.test2()
9def test_GSASIIspc3():
10    GSASIIspc.test3()
[70]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()
[71]23def test_GSASIIlattice6():
24    G2l.test6()
[61]25
26if __name__ == '__main__':
27    test_GSASIIspc()
28    test_GSASIIspc1()
29    test_GSASIIspc2()
30    test_GSASIIspc3()
[70]31    G2l.test0()
32    G2l.test1()
33    G2l.test2()
34    G2l.test3()
35    G2l.test4()
36    G2l.test5()
[71]37    G2l.test6()
[61]38    print "OK"
Note: See TracBrowser for help on using the repository browser.