Skip to content

Commit da70bd6

Browse files
committed
test: changed xarray to yarray in one of the test cases
1 parent 846c72a commit da70bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_diffraction_objects.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ def test_addition_operator_by_scalar(starting_all_arrays, scalar_to_add, expecte
743743
"expected_do_1_all_arrays_with_y_summed, "
744744
"expected_do_2_all_arrays_with_y_summed",
745745
[
746-
# Test addition of two DO objects, expect combined xarray values (q, tth, d) and no change to yarray
746+
# Test addition of two DO objects, expect combined yarray values and no change to xarrays ((q, tth, d)
747747
( # C1: Add two DO objects, expect sum of yarray values
748748
(np.array([[1.0, 0.51763809, 30.0, 12.13818192], [2.0, 1.0, 60.0, 6.28318531]]),),
749749
(np.array([[1.0, 6.28318531, 100.70777771, 1], [2.0, 3.14159265, 45.28748053, 2.0]]),),

0 commit comments

Comments
 (0)