Skip to content

Commit fcee820

Browse files
committed
test: made some coefficients smaller to pass tolerance
1 parent 4c6d993 commit fcee820

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_morphsqueeze.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
squeeze_coeffs_list = [
88
# The order of coefficients is [a0, a1, a2, ..., an]
99
# Negative cubic squeeze coefficients
10-
[-0.2, -0.01, -0.001, -0.0001],
10+
[-0.01, -0.0005, -0.0005, -1e-6],
1111
# Positive cubic squeeze coefficients
1212
[0.2, 0.01, 0.001, 0.0001],
1313
# Positive and negative cubic squeeze coefficients
1414
[0.2, -0.01, 0.002, -0.0001],
1515
# Quadratic squeeze coefficients
16-
[-0.2, 0.005, -0.007],
16+
[-0.2, 0.005, -0.0004],
1717
# Linear squeeze coefficients
1818
[0.1, 0.3],
1919
# 4th order squeeze coefficients
20-
[0.2, -0.01, 0.001, -0.001, 0.0004],
20+
[0.2, -0.01, 0.001, -0.001, 0.0001],
2121
# Zeros and non-zeros, the full polynomial is applied
2222
[0, 0.03, 0, -0.0001],
2323
# Testing zeros, expect no squeezing
@@ -36,7 +36,7 @@
3636
# UC10: Morph range starts and ends earlier than target, same grid density
3737
(np.linspace(-2, 10, 121), np.linspace(0, 20, 201)),
3838
# UC12: Morph range wider than target, same grid density
39-
(np.linspace(-2, 20, 221), np.linspace(0, 10, 101)),
39+
(np.linspace(-2, 20, 201), np.linspace(0, 10, 101)),
4040
]
4141

4242

0 commit comments

Comments
 (0)