Initial Work on Reading Crystal and Creation Gaussian Input
This commit is contained in:
19
tests/shared/system/test_atom.py
Normal file
19
tests/shared/system/test_atom.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from crystalpol.shared.system.atom import Atom
|
||||
|
||||
import unittest
|
||||
|
||||
|
||||
class TestAtom(unittest.TestCase):
|
||||
def test_atom_instantiation(self):
|
||||
atom = Atom(
|
||||
na=1,
|
||||
rx=0,
|
||||
ry=0,
|
||||
rz=0,
|
||||
)
|
||||
|
||||
self.assertIsInstance(atom, Atom)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Reference in New Issue
Block a user