Commit c4c0acc5 authored by Robert Bradshaw's avatar Robert Bradshaw

Cleanup C++ test.

parent c79d2aa8
...@@ -9,19 +9,19 @@ cdef extern from "shapes.h" namespace "shapes": ...@@ -9,19 +9,19 @@ cdef extern from "shapes.h" namespace "shapes":
cdef cppclass Circle(Shape): cdef cppclass Circle(Shape):
int radius int radius
Circle(int) except + Circle(int r) except +
cdef cppclass Rectangle(Shape): cdef cppclass Rectangle(Shape):
int width int width
int height int height
Rectangle() except + Rectangle() except +
Rectangle(int, int) except + Rectangle(int h, int w) except +
int method(int) int method(int x)
int method(bint) int method(bint b)
cdef cppclass Square(Rectangle): cdef cppclass Square(Rectangle):
int side int side
Square(int) except + Square(int s) except +
cdef cppclass Empty(Shape): cdef cppclass Empty(Shape):
pass pass
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment