mirror of https://github.com/SixLabors/ImageSharp
Browse Source
Former-commit-id: a52ae1a608a1968c34eb4e0d958e609a3f3481aa Former-commit-id: b592043e7ba58b60625f0fe344966ef8aa6e65c9af/merge-core
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,31 @@ |
|||||
|
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
// <copyright file="ImageProcessorBootstrapperTests.cs" company="James South">
|
||||
|
// Copyright (c) James South.
|
||||
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
// </copyright>
|
||||
|
// --------------------------------------------------------------------------------------------------------------------
|
||||
|
namespace ImageProcessor.UnitTests.Configuration |
||||
|
{ |
||||
|
using System; |
||||
|
using System.Linq; |
||||
|
|
||||
|
using FluentAssertions; |
||||
|
using NUnit.Framework; |
||||
|
|
||||
|
using ImageProcessor.Configuration; |
||||
|
|
||||
|
/// <summary>
|
||||
|
/// Test harness for the ImageProcessor bootstrapper tests
|
||||
|
/// </summary>
|
||||
|
[TestFixture] |
||||
|
public class ImageProcessorBootrapperTests |
||||
|
{ |
||||
|
[Test] |
||||
|
public void Singleton_is_instantiated() |
||||
|
{ |
||||
|
ImageProcessorBootstrapper.Instance.SupportedImageFormats.Count().Should().BeGreaterThan(0, "because there should be supported image formats"); |
||||
|
|
||||
|
ImageProcessorBootstrapper.Instance.NativeBinaryFactory.Is64BitEnvironment.Should().Be(Environment.Is64BitProcess); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue