Skip to content

Commit ed05a6a

Browse files
committed
Renamed test functions
1 parent 3109f22 commit ed05a6a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,12 @@ IPlan=plan_ipaduatransform(v)
228228
@time ipaduatransform(IPlan,v)
229229

230230
println("Accuracy of 2d function interpolation at a point")
231-
f = (x,y) -> x^2*y+x^3
232-
g = (x,y) ->cos(exp(2*x+y))*sin(y)
231+
f_xy = (x,y) -> x^2*y+x^3
232+
g_xy = (x,y) ->cos(exp(2*x+y))*sin(y)
233233
x=0.1;y=0.2
234234
m=130
235235
l=80
236-
f_x=paduaeval(f,x,y,m)
237-
g_x=paduaeval(g,x,y,l)
238-
@test_approx_eq f(x,y) f_x
239-
@test_approx_eq g(x,y) g_x
236+
f_m=paduaeval(f_xy,x,y,m)
237+
g_l=paduaeval(g_xy,x,y,l)
238+
@test_approx_eq f_xy(x,y) f_m
239+
@test_approx_eq g_xy(x,y) g_l

0 commit comments

Comments
 (0)