Alistair Riddoch
4a9c7078f7
Refactor to use LocatedEntity as base class
...
All IG code should use the interface of LocatedEntity when dealing
with any entity, rather than sometimes requiring Entity. Add virtual
functions to the interface where required, and modify all other interfaces
to stop them using Entity. This makes the code way cleaner, and much better
de-coupled.
2013-01-17 10:17:07 +00:00
Alistair Riddoch
d9fb87d2e0
Cover SetOperation
2012-09-11 22:53:15 +01:00
Alistair Riddoch
6537e5da79
Break out the TestWorld::addNewEntity method
...
This allows tests to cover the case where an Entity is created by this
function if necessary
2012-09-06 13:48:40 +01:00
Alistair Riddoch
1054a88f45
Add operator to quickly determine vector distance
2012-01-24 16:39:02 +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
d9f7835fe3
Expect the right error in all cases
2012-01-04 13:36:30 +00:00
Alistair Riddoch
a8dfc319df
Implement better type checks in Python wrappers
...
These now take into account inheritance, allowing simpler code
and better type safety.
2011-12-13 19:39:09 +00:00
Alistair Riddoch
5d3d265f08
Merge PyMind code into PyThing, as it is so close
2011-11-07 19:16:50 +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
5cb0ac6ae5
Force asserts on in all tests.
2011-02-15 09:30:46 +00:00
Alistair Riddoch
0658f14751
Convert all Python tests to use macros, so they work with NDEBUG
2009-11-20 20:18:53 +00:00
Alistair Riddoch
4fca5c1dfc
Add coverage for a whole bunch of unsupported situations.
2009-11-13 03:36:01 +00:00
Alistair Riddoch
39e9f4eac8
Fix the wrong return value on error in test sabotage functions.
2009-11-12 02:46:30 +00:00
Alistair Riddoch
4e63e02ba0
Add coverage for assert checks in the bindings.
2009-11-11 01:49:23 +00:00
Alistair Riddoch
e6d10088ff
Update the tests for the modified Python Quaternion binding.
2009-05-20 20:49:55 +01:00
Alistair Riddoch
28508f9ddc
Update the tests for the changes Python API
2009-05-20 20:10:38 +01:00
Alistair Riddoch
eb151d8726
Add a coverage test for Py_Location.cpp
2009-05-19 00:25:51 +01:00