diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-09-17 19:59:45 +0200 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-09-17 19:59:45 +0200 |
commit | 73dfe1fe81a4b60dc8b67a0caaba16d83c56e136 (patch) | |
tree | 2238fb8e7e331d948d2903df8ee3dc972b1e91ef /tests/Redstone/creatable.cpp | |
parent | Merge branch 'master' into redstoneTests (diff) | |
download | cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.gz cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.bz2 cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.lz cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.xz cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.tar.zst cuberite-73dfe1fe81a4b60dc8b67a0caaba16d83c56e136.zip |
Diffstat (limited to 'tests/Redstone/creatable.cpp')
-rw-r--r-- | tests/Redstone/creatable.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/Redstone/creatable.cpp b/tests/Redstone/creatable.cpp index 07b800f9b..f26ebe85c 100644 --- a/tests/Redstone/creatable.cpp +++ b/tests/Redstone/creatable.cpp @@ -144,16 +144,17 @@ public: } }; +class MockChest +{ +public: + BLOCKTYPE GetBlockType(void) const { return 0; } + int GetNumberOfPlayers(void) const { return 0; } +}; int main(int argc, char** argv) { - class MockChest - { - public: - BLOCKTYPE GetBlockType(void) const { return 0; } - int GetNumberOfPlayers(void) const { return 0; } - }; + MockWorld World; |