diff --git a/tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs b/tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs index c045d89375..a9c87144a5 100644 --- a/tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs +++ b/tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs @@ -362,11 +362,11 @@ namespace ImageSharp.Tests float a0, a1, a2, a3, b0, b1, b2, b3; float z0, z1, z2, z3, z4; - float r0 = 1.414214f; + //float r0 = 1.414214f; float r1 = 1.387040f; float r2 = 1.306563f; float r3 = 1.175876f; - float r4 = 1.000000f; + //float r4 = 1.000000f; float r5 = 0.785695f; float r6 = 0.541196f; float r7 = 0.275899f; @@ -794,7 +794,7 @@ namespace ImageSharp.Tests r[7] = 0.275899f; const float invsqrt2 = 0.707107f; //(float)(1.0f / M_SQRT2); - const float invsqrt2h = 0.353554f; //invsqrt2*0.5f; + //const float invsqrt2h = 0.353554f; //invsqrt2*0.5f; c1 = x[0]; c2 = x[7]; diff --git a/tests/ImageSharp.Tests/project.json b/tests/ImageSharp.Tests/project.json index cdf1aa61ff..e0e269239e 100644 --- a/tests/ImageSharp.Tests/project.json +++ b/tests/ImageSharp.Tests/project.json @@ -12,6 +12,13 @@ "buildOptions": { "allowUnsafe": true }, + "configurations": { + "Release": { + "buildOptions": { + "warningsAsErrors": true + } + } + }, "dependencies": { "ImageSharp": "1.0.0-*", "xunit": "2.2.0-*",