Browse Source

clean up

af/merge-core
Scott Williams 9 years ago
parent
commit
2ac76dc566
  1. 15
      GitVersion.yml
  2. 13
      src/ImageSharp.Processing/ImageMaths.cs
  3. 3
      src/ImageSharp/Properties/AssemblyInfo.cs
  4. 5
      tests/ImageSharp.Tests/project.json

15
GitVersion.yml

@ -1,15 +0,0 @@
# to create a new package you create a new release/tag
# in github appveyor will build it without the -cixxx tag
# it will then be deployable cleanly to nuget.org
next-version: 1.0.0
legacy-semver-padding: 6
branches:
master:
tag: alpha-
mode: ContinuousDeployment
increment: Minor
prevent-increment-of-merged-branch-version: false
track-merge-target: true
ignore:
sha: []

13
src/ImageSharp.Processing/ImageMaths.cs

@ -14,19 +14,6 @@ namespace ImageSharp.Processing
/// </summary>
internal static class ImageMaths
{
/// <summary>
/// Returns how many bits are required to store the specified number of colors.
/// Performs a Log2() on the value.
/// </summary>
/// <param name="colors">The number of colors.</param>
/// <returns>
/// The <see cref="int"/>
/// </returns>
public static int GetBitsNeededForColorDepth(int colors)
{
return (int)Math.Ceiling(Math.Log(colors, 2));
}
/// <summary>
/// Implementation of 1D Gaussian G(x) function
/// </summary>

3
src/ImageSharp/Properties/AssemblyInfo.cs

@ -37,5 +37,4 @@ using System.Runtime.CompilerServices;
// Ensure the internals can be tested.
[assembly: InternalsVisibleTo("ImageSharp.Benchmarks")]
[assembly: InternalsVisibleTo("ImageSharp.Tests")]
[assembly: InternalsVisibleTo("ImageSharp.Tests46")]
[assembly: InternalsVisibleTo("ImageSharp.Drawing")]
[assembly: InternalsVisibleTo("ImageSharp.Tests46")]

5
tests/ImageSharp.Tests/project.json

@ -49,7 +49,10 @@
"Microsoft.CodeCoverage": "1.0.2"
}
},
"net451": {}
"net451": {
"dependencies": {
}
}
},
"testRunner": "xunit"
}
Loading…
Cancel
Save