mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-19 12:32:40 +01:00
[WIP] Add tests
This commit is contained in:
parent
c73a2aff3c
commit
3fa5f9a34b
BIN
python/test/data/Alz_small.h5
Normal file
BIN
python/test/data/Alz_small.h5
Normal file
Binary file not shown.
47404
python/test/data/data.py
Normal file
47404
python/test/data/data.py
Normal file
File diff suppressed because it is too large
Load Diff
11
python/test/test_api.py
Normal file
11
python/test/test_api.py
Normal file
@ -0,0 +1,11 @@
|
||||
import pyqmckl as pq
|
||||
|
||||
from data.data import coord
|
||||
from os.path import join
|
||||
|
||||
ctx = pq.qmckl_context_create()
|
||||
|
||||
fname = join('data', 'Alz_small.h5')
|
||||
|
||||
rc = pq.qmckl_trexio_read(ctx, fname)
|
||||
print(pq.qmckl_string_of_error(rc))
|
Loading…
Reference in New Issue
Block a user