Browse Source

Math: no need for that GCC type deduction workaround anymore.

pull/187/head^2
Vladimír Vondruš 10 years ago
parent
commit
60b56b0999
  1. 89
      src/Magnum/Math/Test/TypeTraitsTest.cpp

89
src/Magnum/Math/Test/TypeTraitsTest.cpp

@ -94,51 +94,50 @@ struct {
}
TypeTraitsTest::TypeTraitsTest() {
addTests<TypeTraitsTest>({
&TypeTraitsTest::name,
&TypeTraitsTest::equalsIntegral<UnsignedByte>,
&TypeTraitsTest::equalsIntegral<Byte>,
&TypeTraitsTest::equalsIntegral<UnsignedShort>,
&TypeTraitsTest::equalsIntegral<Short>,
&TypeTraitsTest::equalsIntegral<UnsignedInt>,
&TypeTraitsTest::equalsIntegral<Int>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsIntegral<UnsignedLong>,
&TypeTraitsTest::equalsIntegral<Long>,
#endif
&TypeTraitsTest::equalsFloatingPoint0<Float>,
&TypeTraitsTest::equalsFloatingPoint0<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPoint0<long double>,
#endif
&TypeTraitsTest::equalsFloatingPoint1<Float>,
&TypeTraitsTest::equalsFloatingPoint1<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPoint1<long double>,
#endif
&TypeTraitsTest::equalsFloatingPointLarge<Float>,
&TypeTraitsTest::equalsFloatingPointLarge<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPointLarge<long double>,
#endif
&TypeTraitsTest::equalsFloatingPointInfinity<Float>,
&TypeTraitsTest::equalsFloatingPointInfinity<Double>,
&TypeTraitsTest::equalsFloatingPointNaN<Float>,
&TypeTraitsTest::equalsFloatingPointNaN<Double>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedByte>,
&TypeTraitsTest::equalsZeroIntegral<Byte>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedShort>,
&TypeTraitsTest::equalsZeroIntegral<Short>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedInt>,
&TypeTraitsTest::equalsZeroIntegral<Int>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsZeroIntegral<UnsignedLong>,
&TypeTraitsTest::equalsZeroIntegral<Long>,
#endif
});
addTests({&TypeTraitsTest::name,
&TypeTraitsTest::equalsIntegral<UnsignedByte>,
&TypeTraitsTest::equalsIntegral<Byte>,
&TypeTraitsTest::equalsIntegral<UnsignedShort>,
&TypeTraitsTest::equalsIntegral<Short>,
&TypeTraitsTest::equalsIntegral<UnsignedInt>,
&TypeTraitsTest::equalsIntegral<Int>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsIntegral<UnsignedLong>,
&TypeTraitsTest::equalsIntegral<Long>,
#endif
&TypeTraitsTest::equalsFloatingPoint0<Float>,
&TypeTraitsTest::equalsFloatingPoint0<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPoint0<long double>,
#endif
&TypeTraitsTest::equalsFloatingPoint1<Float>,
&TypeTraitsTest::equalsFloatingPoint1<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPoint1<long double>,
#endif
&TypeTraitsTest::equalsFloatingPointLarge<Float>,
&TypeTraitsTest::equalsFloatingPointLarge<Double>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsFloatingPointLarge<long double>,
#endif
&TypeTraitsTest::equalsFloatingPointInfinity<Float>,
&TypeTraitsTest::equalsFloatingPointInfinity<Double>,
&TypeTraitsTest::equalsFloatingPointNaN<Float>,
&TypeTraitsTest::equalsFloatingPointNaN<Double>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedByte>,
&TypeTraitsTest::equalsZeroIntegral<Byte>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedShort>,
&TypeTraitsTest::equalsZeroIntegral<Short>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedInt>,
&TypeTraitsTest::equalsZeroIntegral<Int>,
#ifndef CORRADE_TARGET_EMSCRIPTEN
&TypeTraitsTest::equalsZeroIntegral<UnsignedLong>,
&TypeTraitsTest::equalsZeroIntegral<Long>,
#endif
});
addInstancedTests<TypeTraitsTest>({
&TypeTraitsTest::equalsZeroFloatingPoint<Float>,

Loading…
Cancel
Save