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
68494ba520
Use the ruleset global less often, making code more isolated
2012-01-19 19:34:20 +00:00
Alistair Riddoch
0fc1511ed5
Expect correct errors in script failure tests
2012-01-04 17:18:48 +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
05a722022d
Correct the ID of the test entity.
2009-11-13 03:11:03 +00:00
Alistair Riddoch
789ee71bc0
Add a coverage test for PyWorld
2009-05-27 04:07:04 +01:00