mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
More tests for openQCD-2.0
This commit is contained in:
parent
570c6abf2a
commit
25d00de5ce
1 changed files with 4 additions and 0 deletions
|
@ -283,3 +283,7 @@ def test_openqcd():
|
|||
assert(len(rwfo) == 2)
|
||||
assert(rwfo[0].value == 0.9999974970236312)
|
||||
assert(rwfo[1].value == 1.184681251089919)
|
||||
repname = list(rwfo[0].idl.keys())[0]
|
||||
assert(rwfo[0].idl[repname] == range(1, 10))
|
||||
rwfo = pe.input.openQCD.read_rwms(path, prefix, version='2.0', files=files, names=names, r_start=[1], r_stop=[8])
|
||||
assert(rwfo[0].idl[repname] == range(1, 9))
|
||||
|
|
Loading…
Add table
Reference in a new issue