forked from npshub/mantid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AbinsLoadGAUSSIANTest.py
46 lines (33 loc) · 1.97 KB
/
AbinsLoadGAUSSIANTest.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Mantid Repository : https://github.com/mantidproject/mantid
#
# Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
# NScD Oak Ridge National Laboratory, European Spallation Source,
# Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
# SPDX - License - Identifier: GPL - 3.0 +
import unittest
import abins.input
import abins.test_helpers
class AbinsLoadGAUSSIANTest(unittest.TestCase, abins.input.Tester):
def tearDown(self):
abins.test_helpers.remove_output_files(list_of_names=["_LoadGAUSSIAN"])
# *************************** USE CASES ********************************************
# ===================================================================================
# | Use cases: molecular calculation for GAUSSIAN03 Hartree Fock, Unix |
# ===================================================================================
_gaussian_system1 = "C6H5Cl_LoadGAUSSIAN"
def test_gaussian_1(self):
self.check(name=self._gaussian_system1, loader=abins.input.GAUSSIANLoader)
# ===================================================================================
# | Use cases: molecular calculation for GAUSSIAN03 DFT, Win |
# ===================================================================================
_gaussian_system2 = "BENZENE4_g03_win_LoadGAUSSIAN"
def test_gaussian_2(self):
self.check(name=self._gaussian_system2, loader=abins.input.GAUSSIANLoader)
# ===================================================================================
# | Use cases: molecular calculation for GAUSSIAN09 DFT, Win |
# ===================================================================================
_gaussian_system3 = "BENZENE4_g09_win_LoadGAUSSIAN"
def test_gaussian_3(self):
self.check(name=self._gaussian_system3, loader=abins.input.GAUSSIANLoader)
if __name__ == '__main__':
unittest.main()