Browse Source

No more warnings.

af/merge-core
Dirk Lemstra 10 years ago
parent
commit
44615dcfea
  1. 6
      tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs
  2. 7
      tests/ImageSharp.Tests/project.json

6
tests/ImageSharp.Tests/Formats/Jpg/ReferenceImplementations.cs

@ -362,11 +362,11 @@ namespace ImageSharp.Tests
float a0, a1, a2, a3, b0, b1, b2, b3; float a0, a1, a2, a3, b0, b1, b2, b3;
float z0, z1, z2, z3, z4; float z0, z1, z2, z3, z4;
float r0 = 1.414214f; //float r0 = 1.414214f;
float r1 = 1.387040f; float r1 = 1.387040f;
float r2 = 1.306563f; float r2 = 1.306563f;
float r3 = 1.175876f; float r3 = 1.175876f;
float r4 = 1.000000f; //float r4 = 1.000000f;
float r5 = 0.785695f; float r5 = 0.785695f;
float r6 = 0.541196f; float r6 = 0.541196f;
float r7 = 0.275899f; float r7 = 0.275899f;
@ -794,7 +794,7 @@ namespace ImageSharp.Tests
r[7] = 0.275899f; r[7] = 0.275899f;
const float invsqrt2 = 0.707107f; //(float)(1.0f / M_SQRT2); 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]; c1 = x[0];
c2 = x[7]; c2 = x[7];

7
tests/ImageSharp.Tests/project.json

@ -12,6 +12,13 @@
"buildOptions": { "buildOptions": {
"allowUnsafe": true "allowUnsafe": true
}, },
"configurations": {
"Release": {
"buildOptions": {
"warningsAsErrors": true
}
}
},
"dependencies": { "dependencies": {
"ImageSharp": "1.0.0-*", "ImageSharp": "1.0.0-*",
"xunit": "2.2.0-*", "xunit": "2.2.0-*",

Loading…
Cancel
Save