fix the instruction for the test func for iterate_f
This commit is contained in:
parent
952f8b97a5
commit
3b74b69d9f
1 changed files with 1 additions and 1 deletions
|
@ -28,4 +28,4 @@ def test_f_corner_cases():
|
|||
# Implement a function iterate_f that runs f for it iterations. Write tests for the following cases:
|
||||
# x=0.1, r=2.2, it=1 => iterate_f(it, x, r)=[0.1, 0.198]
|
||||
# x=0.2, r=3.4, it=4 => iterate_f(it, x, r)=[0.2, 0.544, 0.843418, 0.449019, 0.841163]
|
||||
# x=0.5, r=2, it=3 => iterate_f(it, x, r)=[0.5, 0.5, 0.5]
|
||||
# x=0.5, r=2, it=3 => iterate_f(it, x, r)=[0.5, 0.5, 0.5, 0.5]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue