With the recent changes voxel type traits,
one of the tests seems to be failing. The output is:
Code:
********* Start testing of TestVoxels *********
Config: Using QTest library 4.4.3, Qt 4.4.3
PASS : TestVoxels::initTestCase()
FAIL! : TestVoxels::testVoxelTypeLimits() Compared floats are not the same (fuzzy compare)
Actual (VoxelTypeTraits<DensityFloat>::minDensity()): -3.40282e+38
Expected (FLT_MIN): 1.17549e-38
Loc: [/home/milliams/polyvox/tests/TestVoxels.cpp(59)]
PASS : TestVoxels::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped
********* Finished testing of TestVoxels *********
I can confirm the failing test on two other Linux boxes too. Basically, the difference is that the DensityFloat type's min value is being defined as
-std::numeric_limits<DensityFloat::DensityType>::max() (the most negative number possible) but the test is checking for it being the smallest (closest to zero) positive number possible. I'd fix it myself but I'm not sure which way you intended it to work.