fix: Typo in test
All checks were successful
Run Python Tests / test (3.12) (pull_request) Successful in 11s
Run Python Tests / test (3.10) (pull_request) Successful in 13s
Run Python Tests / test (3.8) (pull_request) Successful in 10s

This commit is contained in:
2025-06-17 14:27:53 -04:00
parent 25f20a4db2
commit 36f51ca67e

View File

@ -92,7 +92,7 @@ def test_function_multiplication(m_func_1, m_func_2):
# (2x^2 + 3x + 1) * (5x -4) = 10x^3 + 7x^2 - 7x -4 # (2x^2 + 3x + 1) * (5x -4) = 10x^3 + 7x^2 - 7x -4
result = m_func_1 * m_func_2 result = m_func_1 * m_func_2
assert result.largest_exponent == 3 assert result.largest_exponent == 3
assert np.array_equal(result.coefficients, [19, 7, -7, -4]) assert np.array_equal(result.coefficients, [10, 7, -7, -4])
# --- Genetic Algorithm Root-Finding Tests --- # --- Genetic Algorithm Root-Finding Tests ---