Commit graph

13 commits

Author SHA1 Message Date
Erik Ogenvik
7534fee4e3 Arrange tests better and remove obsolete and unused stuff. 2020-01-20 23:17:55 +01:00
Erik Ogenvik
7c780c55b7 Clear up Python code. 2020-01-04 22:42:26 +01:00
Erik Ogenvik
21f620d3ba Standardize on using std::unique_ptr.
Anytime an object is owned an instance of std::unique_ptr should be
used.
2019-11-17 22:42:15 +01:00
Erik Ogenvik
3b6ca35965 Removed obsolete ops. 2019-08-20 23:23:52 +02:00
Erik Ogenvik
57c793be46 Move ops from simulation to ruleset.
"burn", "hit" and "nourish" belong to the ruleset.
"actuate" is obsolete, replaced by the "use" op.
2019-07-25 00:40:42 +02:00
Erik Ogenvik
ccfbed8348 Removed Eat op from simulation.
This should only be part of the ruleset.
2019-07-25 00:17:43 +02:00
Erik Ogenvik
164816f646 Adapt tests to changed structure. 2018-11-03 17:17:50 +01:00
Erik Ogenvik
e85f0831b2 Restructure rule classes.
Classes under "rulesets" have been moved to "rules", and split up into
futher subdirectories matching their library. As a result we can now
better separate the python bindings, so that things that belongs to the
simulation are separeted from things that belongs to the ai.
2018-10-31 21:38:35 +01:00
Erik Ogenvik
e0b45800ef Fix broken tests. 2018-10-29 21:11:23 +01:00
Erik Ogenvik
7634969eef Removed TaskFactory classes.
Since we always create Tasks from scripts.
Also fixed a lot of tests.
2018-08-04 18:01:20 +02:00
Erik Ogenvik
0286bcd47d Replace "parents" with "parent". 2017-07-24 15:05:18 +02:00
Erik Ogenvik
1105483b1d Fixed up tests. 2016-12-15 18:27:42 +01:00
Erik Ogenvik
1c69b3aae6 Use camel casing for tests.
This makes it much easier to find them in various editors.
2016-06-26 20:17:18 +02:00
Renamed from tests/TaskScripttest.cpp (Browse further)