mirror of https://github.com/SixLabors/ImageSharp
3 changed files with 71 additions and 0 deletions
@ -0,0 +1,24 @@ |
|||
// Copyright(c) Six Labors and contributors.
|
|||
// Licensed under the Apache License, Version 2.0.
|
|||
|
|||
namespace SixLabors.ImageSharp.Common.Helpers |
|||
{ |
|||
/// <summary>
|
|||
/// Internal utilities intended to be only used in tests.
|
|||
/// </summary>
|
|||
internal static class TestHelpers |
|||
{ |
|||
/// <summary>
|
|||
/// This constant is useful to verify the target framework ImageSharp has been built against.
|
|||
/// Only intended to be used in tests!
|
|||
/// </summary>
|
|||
internal const string ImageSharpBuiltAgainst = |
|||
#if NETSTANDARD1_1
|
|||
"netstandard1.1"; |
|||
#elif NETCOREAPP2_1
|
|||
"netcoreapp2.1"; |
|||
#else
|
|||
"netstandard2.0"; |
|||
#endif
|
|||
} |
|||
} |
|||
Loading…
Reference in new issue