rename overload_extendc testcase
This commit is contained in:
parent
a00b4f4463
commit
0bd41dc14d
7 changed files with 11 additions and 11 deletions
|
|
@ -1,30 +0,0 @@
|
|||
overload_extendc
|
||||
|
||||
f = overload_extendc.Foo();
|
||||
if (f.test(3) != 1)
|
||||
error
|
||||
endif
|
||||
if (f.test("hello") != 2)
|
||||
error
|
||||
endif
|
||||
if (f.test(3.5,2.5) != 3)
|
||||
error
|
||||
endif
|
||||
if (f.test("hello",20) != 1020)
|
||||
error
|
||||
endif
|
||||
if (f.test("hello",20,100) != 120)
|
||||
error
|
||||
endif
|
||||
|
||||
# C default args
|
||||
if (f.test(f) != 30)
|
||||
error
|
||||
endif
|
||||
if (f.test(f,100) != 120)
|
||||
error
|
||||
endif
|
||||
if (f.test(f,100,200) != 300)
|
||||
error
|
||||
endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue