Commit graph

24 commits

Author SHA1 Message Date
Alistair Riddoch
41d8d5fa24 Mark out sections in the test 2012-04-30 17:43:44 +01:00
Alistair Riddoch
e63b6b84fd Pad out cases for testing Course wrapper 2012-04-30 17:40:20 +01:00
Alistair Riddoch
f0ed855ead Add stub Python wrapper for LinearCourse 2012-04-30 10:05:02 +01:00
Alistair Riddoch
a3eae9b49e Cover a bunch more cases 2012-04-02 16:38:20 +01:00
Alistair Riddoch
25a7989812 Cover some constructor error cases 2012-04-02 15:40:05 +01:00
Alistair Riddoch
7cea7abc59 Cover another failure case in Python Shape wrappers 2012-04-02 14:30:33 +01:00
Alistair Riddoch
a97a302ad2 Add check for unexpected constructor args 2012-04-02 11:44:47 +01:00
Alistair Riddoch
a6227c26dc Formatting cleanup 2012-04-02 11:40:51 +01:00
Alistair Riddoch
d408721b7c Fix up the tests 2012-03-31 12:40:40 +01:00
Alistair Riddoch
c8e57d01a6 Re-work all the shape code to be clearer 2012-03-31 02:18:33 +01:00
Alistair Riddoch
05121841ae Add sequence operator to access corners 2012-03-29 10:19:46 +01:00
Alistair Riddoch
cae9f90f59 Cover the new explicit Box wrapper 2012-03-27 17:32:50 +01:00
Alistair Riddoch
4cf8d1bcb3 Add Python constructor and type for Line shape 2012-03-26 10:10:52 +01:00
Alistair Riddoch
275c6379e7 Add Python bindings for Shape centre function 2012-01-25 20:27:09 +00:00
Alistair Riddoch
68494ba520 Use the ruleset global less often, making code more isolated 2012-01-19 19:34:20 +00:00
Alistair Riddoch
d1f42c52b8 Convent two tests missed by the regex 2012-01-04 17:21:09 +00:00
Alistair Riddoch
ab43921714 Expect correct error in script failure tests 2012-01-04 16:20:08 +00:00
Alistair Riddoch
1cb4ee8b08 Allow this Polygin wrapper to init from Atlas data 2011-12-23 17:18:49 +00:00
Alistair Riddoch
d01a00460e Add a subclass wrapper for Polygon 2011-12-23 10:51:07 +00:00
Alistair Riddoch
fc12511de9 Cover the rest of things 2011-12-22 18:00:32 +00:00
Alistair Riddoch
37af9d656f Add init to Shape wrapper, and fill out tests
Now it is possible to init a shape from Python, the test
can actually try out the methods
2011-12-22 17:46:52 +00:00
Alistair Riddoch
3c86882f42 Add a define to indicate to test code that the main tree was build in debug
This allows testing of assert protection in the main code which is only
included in a debug build, but will crash in an non-debug build
2011-02-16 09:00:40 +00:00
Alistair Riddoch
ee0963abcd Fix asserts in one missed test 2011-02-15 23:14:14 +00:00
Alistair Riddoch
1a9fe636bd Add tests for Python shape wrappers 2011-01-13 19:33:24 +00:00