mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
688 B
24 lines
688 B
// 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
|
|
}
|
|
}
|