PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/Examples/test-suite/octave/overload_extend_runme.m

#
Objective C | 19 lines | 17 code | 2 blank | 0 comment | 10 complexity | f3f1695019e79571bced919cae44ae5e MD5 | raw file
 1overload_extend
 2
 3f = overload_extend.Foo();
 4if (f.test() != 0)
 5    error
 6endif
 7if (f.test(3) != 1)
 8    error
 9endif
10if (f.test("hello") != 2)
11    error
12endif
13if (f.test(3,2) != 5)
14    error
15endif
16if (f.test(3.1)-.1 != 1003) # :)
17    error
18endif
19