Browse Source

ImageSharp-762_Aot-compiling: added simple unit test to check no exceptions are thrown by AotCompiler

af/merge-core
Dan Manning 7 years ago
parent
commit
f4fbe8d3c1
  1. 18
      tests/ImageSharp.Tests/Advanced/AotCompilerTests.cs

18
tests/ImageSharp.Tests/Advanced/AotCompilerTests.cs

@ -0,0 +1,18 @@
// Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using Xunit;
namespace SixLabors.ImageSharp.Tests.Advanced
{
public class AotCompilerTests
{
[Fact]
public void AotCompiler_NoExceptions()
{
AotCompiler.Seed<Rgba32>();
}
}
}
Loading…
Cancel
Save