From 6fed89469be0427f3f178714ebe7bbc59e0c98c7 Mon Sep 17 00:00:00 2001 From: QBatista Date: Wed, 26 Dec 2018 15:58:43 +0100 Subject: [PATCH] TEST: Fix the names of tests for `brent_max` --- quantecon/optimize/tests/test_scalar_max.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quantecon/optimize/tests/test_scalar_max.py b/quantecon/optimize/tests/test_scalar_max.py index f4704f92f..b91103d1c 100644 --- a/quantecon/optimize/tests/test_scalar_max.py +++ b/quantecon/optimize/tests/test_scalar_max.py @@ -18,7 +18,7 @@ def f(x): return -(x + 2.0)**2 + 1.0 -def test_brent_max(): +def test_f(): """ Uses the function f defined above to test the scalar maximization routine. @@ -38,9 +38,9 @@ def g(x, y): return -x**2 + y -def test_brent_max(): +def test_g(): """ - Uses the function f defined above to test the scalar maximization + Uses the function g defined above to test the scalar maximization routine. """ y = 5