Duplicate tests that are run twice as both C and C++ tests to fix parallel make: overload_extend

This commit is contained in:
William S Fulton 2016-02-21 16:28:21 +00:00
commit 155e31626c
10 changed files with 106 additions and 1 deletions

View file

@ -0,0 +1,13 @@
import overload_extend_c
f = overload_extend_c.Foo()
if f.test() != 0:
raise RuntimeError
if f.test(3) != 1:
raise RuntimeError
if f.test("hello") != 2:
raise RuntimeError
if f.test(3, 2) != 5:
raise RuntimeError
if f.test(3.0) != 1003:
raise RuntimeError