23 Commits

Author SHA1 Message Date
David Williams
ef185d79a0 Removed getWidth(), getHeight(), getDepth() and width(), height(), depth() remain deprecated. These functions seem ambiguous, so users have to calculate these values themselves when they want them. 2011-03-16 23:14:28 +00:00
David Williams
8e6b1a3b7e Applying ker's patch unmodified. 2011-03-10 20:31:11 +00:00
David Williams
4ef0cfb468 Applied patch from ker such that int32_t's are now used instead of uint16_t's for addressing voxel positions. 2011-03-03 23:00:00 +00:00
David Williams
754690e251 Removed block sharing ready for compression. 2011-02-05 17:56:59 +00:00
Matt Williams
4bdba629fb Add stub of test to compile the Material class. 2010-12-21 21:11:36 +00:00
David Williams
fdf21f7846 It seems that for the tests to build (at least on Windows) they need to link against QtCore as well as QtTests. 2010-08-21 09:43:42 +00:00
Matt Williams
dbce411553 Make the tests only link against QtTest (i.e. not QtGui) so that they can be run outside of X11. 2010-07-21 15:14:36 +00:00
Matt Williams
765739f450 Move the find_package(Qt4...) bit into the root CMakeLists.txt file since it is used by both the tests and library subdirectories. 2010-07-02 10:49:47 +00:00
Matt Williams
2da20ff2ef Add warning message if QtTest could not be found. 2010-07-01 12:58:19 +00:00
David Williams
254fa3329e PolyVox and Thermite3D now support the use of a density component as well as a material component for each voxel. 2010-06-25 21:41:13 +00:00
David Williams
29928b774d Bounds check added to get/setVoxelAt. 2010-06-15 20:32:14 +00:00
David Williams
7ffcd0c7ed Move to VS 2010.
Update to Ogre SDK 1.7.1
Removed support for compilers which don't adhere to C++0X
2010-05-23 21:51:34 +00:00
David Williams
9485706e52 Committing missing files.
Fixed inconsistent line endings.
2010-03-28 01:10:59 +00:00
David Williams
5e687fbd58 Added unit test for Array class. 2010-03-28 00:11:41 +00:00
Matt Williams
6f70396c9a Cleaner way of requesting Qt modules 2010-03-05 15:15:42 +00:00
Matt Williams
9d03360436 Tell CTest the correct location of the test binaries on Windows. 2010-03-05 12:24:46 +00:00
Matt Williams
0db01213a7 Set Qt to be a required package 2010-03-02 16:08:33 +00:00
Matt Williams
e7522e23a8 Add some simple vector tests 2010-02-26 16:12:16 +00:00
Matt Williams
7597b56620 Improve test macro.
Add include guards to the test header.
2010-02-26 16:11:13 +00:00
Matt Williams
6a828ec244 Reorganise the test CMakeLists.txt file.
Add a CMake macro for easily adding new tests.
2010-02-26 15:13:10 +00:00
Matt Williams
b1078ce61c Fix incorrect header 2010-02-25 12:27:05 +00:00
Matt Williams
fe3961c041 Use QTestLib to harness the tests. 2010-02-25 12:20:44 +00:00
Matt Williams
b3e6e54c1b Add an extremely simple test which checks the size of the volume doesn't
change. This will hopefully also be tracked by the dashboard.
2010-02-24 16:32:36 +00:00