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() { TypeTraitsTest::TypeTraitsTest() {
addTests<TypeTraitsTest>({ addTests({&TypeTraitsTest::name,
&TypeTraitsTest::name,
&TypeTraitsTest::equalsIntegral<UnsignedByte>,
&TypeTraitsTest::equalsIntegral<UnsignedByte>, &TypeTraitsTest::equalsIntegral<Byte>,
&TypeTraitsTest::equalsIntegral<Byte>, &TypeTraitsTest::equalsIntegral<UnsignedShort>,
&TypeTraitsTest::equalsIntegral<UnsignedShort>, &TypeTraitsTest::equalsIntegral<Short>,
&TypeTraitsTest::equalsIntegral<Short>, &TypeTraitsTest::equalsIntegral<UnsignedInt>,
&TypeTraitsTest::equalsIntegral<UnsignedInt>, &TypeTraitsTest::equalsIntegral<Int>,
&TypeTraitsTest::equalsIntegral<Int>, #ifndef CORRADE_TARGET_EMSCRIPTEN
#ifndef CORRADE_TARGET_EMSCRIPTEN &TypeTraitsTest::equalsIntegral<UnsignedLong>,
&TypeTraitsTest::equalsIntegral<UnsignedLong>, &TypeTraitsTest::equalsIntegral<Long>,
&TypeTraitsTest::equalsIntegral<Long>, #endif
#endif
&TypeTraitsTest::equalsFloatingPoint0<Float>,
&TypeTraitsTest::equalsFloatingPoint0<Float>, &TypeTraitsTest::equalsFloatingPoint0<Double>,
&TypeTraitsTest::equalsFloatingPoint0<Double>, #ifndef CORRADE_TARGET_EMSCRIPTEN
#ifndef CORRADE_TARGET_EMSCRIPTEN &TypeTraitsTest::equalsFloatingPoint0<long double>,
&TypeTraitsTest::equalsFloatingPoint0<long double>, #endif
#endif &TypeTraitsTest::equalsFloatingPoint1<Float>,
&TypeTraitsTest::equalsFloatingPoint1<Float>, &TypeTraitsTest::equalsFloatingPoint1<Double>,
&TypeTraitsTest::equalsFloatingPoint1<Double>, #ifndef CORRADE_TARGET_EMSCRIPTEN
#ifndef CORRADE_TARGET_EMSCRIPTEN &TypeTraitsTest::equalsFloatingPoint1<long double>,
&TypeTraitsTest::equalsFloatingPoint1<long double>, #endif
#endif &TypeTraitsTest::equalsFloatingPointLarge<Float>,
&TypeTraitsTest::equalsFloatingPointLarge<Float>, &TypeTraitsTest::equalsFloatingPointLarge<Double>,
&TypeTraitsTest::equalsFloatingPointLarge<Double>, #ifndef CORRADE_TARGET_EMSCRIPTEN
#ifndef CORRADE_TARGET_EMSCRIPTEN &TypeTraitsTest::equalsFloatingPointLarge<long double>,
&TypeTraitsTest::equalsFloatingPointLarge<long double>, #endif
#endif &TypeTraitsTest::equalsFloatingPointInfinity<Float>,
&TypeTraitsTest::equalsFloatingPointInfinity<Float>, &TypeTraitsTest::equalsFloatingPointInfinity<Double>,
&TypeTraitsTest::equalsFloatingPointInfinity<Double>, &TypeTraitsTest::equalsFloatingPointNaN<Float>,
&TypeTraitsTest::equalsFloatingPointNaN<Float>, &TypeTraitsTest::equalsFloatingPointNaN<Double>,
&TypeTraitsTest::equalsFloatingPointNaN<Double>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedByte>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedByte>, &TypeTraitsTest::equalsZeroIntegral<Byte>,
&TypeTraitsTest::equalsZeroIntegral<Byte>, &TypeTraitsTest::equalsZeroIntegral<UnsignedShort>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedShort>, &TypeTraitsTest::equalsZeroIntegral<Short>,
&TypeTraitsTest::equalsZeroIntegral<Short>, &TypeTraitsTest::equalsZeroIntegral<UnsignedInt>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedInt>, &TypeTraitsTest::equalsZeroIntegral<Int>,
&TypeTraitsTest::equalsZeroIntegral<Int>, #ifndef CORRADE_TARGET_EMSCRIPTEN
#ifndef CORRADE_TARGET_EMSCRIPTEN &TypeTraitsTest::equalsZeroIntegral<UnsignedLong>,
&TypeTraitsTest::equalsZeroIntegral<UnsignedLong>, &TypeTraitsTest::equalsZeroIntegral<Long>,
&TypeTraitsTest::equalsZeroIntegral<Long>, #endif
#endif });
});
addInstancedTests<TypeTraitsTest>({ addInstancedTests<TypeTraitsTest>({
&TypeTraitsTest::equalsZeroFloatingPoint<Float>, &TypeTraitsTest::equalsZeroFloatingPoint<Float>,

Loading…
Cancel
Save