Applying ker's patch unmodified.
This commit is contained in:
@ -32,7 +32,7 @@ using namespace PolyVox;
|
||||
void TestVolume::testSize()
|
||||
{
|
||||
const int32_t g_uVolumeSideLength = 128;
|
||||
Volume<uint8_t> volData(g_uVolumeSideLength, g_uVolumeSideLength, g_uVolumeSideLength);
|
||||
Volume<uint8_t> volData;
|
||||
|
||||
//Note: Deliberatly go past each edge by one to test if the bounds checking works.
|
||||
for (int32_t z = 0; z < g_uVolumeSideLength + 1; z++)
|
||||
@ -45,10 +45,6 @@ void TestVolume::testSize()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QCOMPARE(volData.getWidth(), g_uVolumeSideLength);
|
||||
QCOMPARE(volData.getHeight(), g_uVolumeSideLength);
|
||||
QCOMPARE(volData.getDepth(), g_uVolumeSideLength);
|
||||
}
|
||||
|
||||
QTEST_MAIN(TestVolume)
|
||||
|
Reference in New Issue
Block a user