Skip to content

Commit 32ef7cb

Browse files
authored
Merge pull request #469 from QBatista/test_brent_max
TEST: Fix the names of tests for `brent_max`
2 parents 89fb495 + 6fed894 commit 32ef7cb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

quantecon/optimize/tests/test_scalar_max.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def f(x):
1818
return -(x + 2.0)**2 + 1.0
1919

2020

21-
def test_brent_max():
21+
def test_f():
2222
"""
2323
Uses the function f defined above to test the scalar maximization
2424
routine.
@@ -38,9 +38,9 @@ def g(x, y):
3838
return -x**2 + y
3939

4040

41-
def test_brent_max():
41+
def test_g():
4242
"""
43-
Uses the function f defined above to test the scalar maximization
43+
Uses the function g defined above to test the scalar maximization
4444
routine.
4545
"""
4646
y = 5

0 commit comments

Comments
 (0)