From 956c270762668bedccc83a8f25cb021c0653c4d0 Mon Sep 17 00:00:00 2001 From: Jonathan Rampersad Date: Mon, 16 Jun 2025 19:08:51 -0400 Subject: [PATCH] FIXED: typo in test file --- tests/test_polysolve.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_polysolve.py b/tests/test_polysolve.py index d1a0af7..30149a0 100644 --- a/tests/test_polysolve.py +++ b/tests/test_polysolve.py @@ -14,14 +14,14 @@ from polysolve import Function, GA_Options, quadratic_solve def quadratic_func() -> Function: """Provides a standard quadratic function: 2x^2 - 3x - 5.""" f = Function(largest_exponent=2) - f.set_constants([2, -3, -5]) + f.set_coeffs([2, -3, -5]) return f @pytest.fixture def linear_func() -> Function: """Provides a standard linear function: x + 10.""" f = Function(largest_exponent=1) - f.set_constants([1, 10]) + f.set_coeffs([1, 10]) return f # --- Core Functionality Tests ---