diff options
author | Vitaliy <silverunicorn2011@yandex.ru> | 2018-04-03 09:23:46 +0300 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-04-03 08:23:46 +0200 |
commit | 528908a4c3dd190cb7a6007df1e3fcd8e4604bfa (patch) | |
tree | ecec86bd3388301bd67e2eb8e597f37b328f6764 /src/unittest/test.h | |
parent | 2481ea27ce0f423f3e6f3522539d20e1500cf572 (diff) | |
download | minetest-528908a4c3dd190cb7a6007df1e3fcd8e4604bfa.tar.gz minetest-528908a4c3dd190cb7a6007df1e3fcd8e4604bfa.tar.bz2 minetest-528908a4c3dd190cb7a6007df1e3fcd8e4604bfa.zip |
Optimize entity-entity collision (#6587)
* Add IrrLicht type aliases
* Add hash for IrrLicht vector
* Add object map
Diffstat (limited to 'src/unittest/test.h')
-rw-r--r-- | src/unittest/test.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unittest/test.h b/src/unittest/test.h index 1102f6d33..a6cd03ed2 100644 --- a/src/unittest/test.h +++ b/src/unittest/test.h @@ -99,6 +99,10 @@ class TestFailedException : public std::exception { UASSERT(exception_thrown); \ } +#define CONCAT_IMPL(x,y) x##y +#define CONCAT(x,y) CONCAT_IMPL(x, y) +#define NEWNAME(prefix) CONCAT(prefix, __COUNTER__) + class IGameDef; class TestBase { |