Renamed test funtion.

This commit is contained in:
unknown
2012-01-24 16:12:04 +01:00
parent 0d492886db
commit ce11a7a0ae
3 changed files with 6 additions and 3 deletions

View File

@ -33,8 +33,11 @@ freely, subject to the following restrictions:
using namespace PolyVox;
void TestVoxels::testTraits()
void TestVoxels::testVoxelTypeLimits()
{
// It's worth testing these as they are not all explictily defined (e.g. Density8 is just a
// typedef of DensityI8), and in the future we might define then with bitwise magic or something.
QCOMPARE(VoxelTypeTraits<Density8>::MinDensity, Density8::DensityType(0));
QCOMPARE(VoxelTypeTraits<Density8>::MaxDensity, Density8::DensityType(255));