Skip to content

Commit bf52078

Browse files
change test intensity array to avoid duplication with x-arrays
1 parent 19efee8 commit bf52078

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_diffraction_objects.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -241,15 +241,15 @@ def test_diffraction_objects_equality(inputs1, inputs2, expected):
241241
params_on_xtype = [
242242
(
243243
[
244-
np.array([1, 2, 3, 4, 5, 6]), # intensity array
244+
np.array([100, 200, 300, 400, 500, 600]), # intensity array
245245
np.array([0, 30, 60, 90, 120, 180]), # tth array
246246
np.array([1, 2, 3, 4, 5, 6]), # q array
247247
np.array([10, 20, 30, 40, 50, 60]), # d array
248248
],
249249
[
250-
np.array([[0, 30, 60, 90, 120, 180], [1, 2, 3, 4, 5, 6]]), # expected on_tth
251-
np.array([[1, 2, 3, 4, 5, 6], [1, 2, 3, 4, 5, 6]]), # expected on_q
252-
np.array([[10, 20, 30, 40, 50, 60], [1, 2, 3, 4, 5, 6]]), # expected on_d
250+
np.array([[0, 30, 60, 90, 120, 180], [100, 200, 300, 400, 500, 600]]), # expected on_tth
251+
np.array([[1, 2, 3, 4, 5, 6], [100, 200, 300, 400, 500, 600]]), # expected on_q
252+
np.array([[10, 20, 30, 40, 50, 60], [100, 200, 300, 400, 500, 600]]), # expected on_d
253253
],
254254
)
255255
]

0 commit comments

Comments
 (0)