Commit graph

8 commits

Author SHA1 Message Date
Fabian Joswig
525c61ed20
Fix another edge case in _compute_drho (#194)
* tests: failing test for compute_drho edge case added.

* tests: example file for failing compute_drho added.

* tests: assertion that dvalue stays the same added to compute drho test.

* fix: another edge case in computation of drho fixed.
2023-06-02 15:04:15 +01:00
Justus Kuhlmann
41fec09816
Impr/fix refactor sfcf read (#164)
* refactor read_sfcf

* adding tests for find_corr and read_compact_file

* add necessary broken data for tests

* fixed appended mode reading

* factored out sort_names and find_files

* now also using sort_files in sfcf.py

* edited tests to fit with new structure

* added find_files function

* shifted helpfunctions to bottom of file

* removed some debug lines

* linting

* Fixed requested changes, added silent mode

* added Exception if correlator is not found by read_append_rep

* use tmp_path fixture

* linting silent keyword

* try to fix testing for a_bb

* tests: Exception testing in test_find_corr made more explicit.

---------

Co-authored-by: Fabian Joswig <fabian.joswig@ed.ac.uk>
2023-03-15 17:46:12 +00:00
Justus Kuhlmann
cef3c3e793
Impr/refactor find files (#151)
* wrote small test for ms5_xsf read method

* small bug in ms5_xsf found

* first version of refactoring with test

* built _find_files into openQCD module

* postfix can now be used as before

* altered test data to be smaller

* read_rwms throws better Exception now

* typo corrected

* better tests for postfixes, also added similar solution for ext variable
2023-02-08 14:52:29 +00:00
Simon Kuberski
cf137e2843 Added tests for t0 and qtop 2022-02-09 18:41:54 +01:00
Simon Kuberski
570c6abf2a Yet another small change to openQCD. Added explicit tests for reweighting. 2022-02-09 14:08:05 +01:00
jkuhl-uni
b36d559ac3 input append mode tests done 2022-02-07 15:10:19 +01:00
jkuhl-uni
0d1921c16b positive tests for o and c finished 2022-02-07 12:28:14 +01:00
jkuhl-uni
a839592ea8 first steps to testing input methods 2022-02-06 18:05:37 +01:00