Commit 5f00d231 authored by Jose Borreguero's avatar Jose Borreguero
Browse files

Refs #37 added integration tests

parent f78c62dc
Pipeline #57245 passed with stages
in 5 minutes and 23 seconds
from __future__ import (absolute_import, division, print_function)
import pytest
from ornl.sans.sns.eqsans.prepare import prepare_direct_beam_center
def test_prepare_direct_beam_center(eqsans_f, eqsans_p):
x, y = prepare_direct_beam_center(eqsans_f['beamcenter'],
assert (x, y) == pytest.approx((0.0265, 0.0180), abs=1e-04)
if __name__ == '__main__':
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment