Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend
This commit is contained in:
parent
0bd41dc14d
commit
155e31626c
10 changed files with 106 additions and 1 deletions
19
Examples/test-suite/octave/overload_extend_c_runme.m
Normal file
19
Examples/test-suite/octave/overload_extend_c_runme.m
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
overload_extend_c
|
||||
|
||||
f = overload_extend_c.Foo();
|
||||
if (f.test() != 0)
|
||||
error
|
||||
endif
|
||||
if (f.test(3) != 1)
|
||||
error
|
||||
endif
|
||||
if (f.test("hello") != 2)
|
||||
error
|
||||
endif
|
||||
if (f.test(3,2) != 5)
|
||||
error
|
||||
endif
|
||||
if (f.test(3.1)-.1 != 1003) # :)
|
||||
error
|
||||
endif
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue