Skip to content

Commit 5fc00b2

Browse files
edit test comments
1 parent a2a43a0 commit 5fc00b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_diffraction_objects.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def test_init_invalid_xtype():
215215
( # C2: Same x-arrays
216216
# x-value has exact matches at tth=60 (y=60) and tth=60 (y=6),
217217
# for original and target diffraction objects,
218-
# expect y-array to multiply by 6/60=1/10
218+
# expect original y-array to multiply by 6/60=1/10
219219
{
220220
"xarray": np.array([10, 15, 25, 30, 60, 140]),
221221
"yarray": np.array([10, 20, 25, 30, 60, 100]),
@@ -239,7 +239,7 @@ def test_init_invalid_xtype():
239239
( # C3: Different x-arrays with same length,
240240
# x-value has closest match at q=0.12 (y=10) and q=0.14 (y=1)
241241
# for original and target diffraction objects,
242-
# expect y-array to multiply by 1/10
242+
# expect original y-array to multiply by 1/10
243243
{
244244
"xarray": np.array([0.12, 0.24, 0.31, 0.4]),
245245
"yarray": np.array([10, 20, 40, 60]),
@@ -263,7 +263,7 @@ def test_init_invalid_xtype():
263263
( # C4: Different x-array lengths
264264
# x-value has closest matches at tth=61 (y=50) and tth=62 (y=5),
265265
# for original and target diffraction objects,
266-
# expect y-array to multiply by 5/50=1/10
266+
# expect original y-array to multiply by 5/50=1/10
267267
{
268268
"xarray": np.array([10, 25, 30.1, 40.2, 61, 120, 140]),
269269
"yarray": np.array([10, 20, 30, 40, 50, 60, 100]),

0 commit comments

Comments
 (0)