mirror of https://github.com/SixLabors/ImageSharp
4 changed files with 99 additions and 63 deletions
@ -0,0 +1,42 @@ |
|||||
|
// <copyright file="FlagsHelper.cs" company="James Jackson-South">
|
||||
|
// Copyright (c) James Jackson-South and contributors.
|
||||
|
// Licensed under the Apache License, Version 2.0.
|
||||
|
// </copyright>
|
||||
|
|
||||
|
// ReSharper disable InconsistentNaming
|
||||
|
namespace ImageSharp.Tests |
||||
|
{ |
||||
|
using System.IO; |
||||
|
|
||||
|
using Xunit; |
||||
|
using Xunit.Abstractions; |
||||
|
|
||||
|
public class TestEnvironmentTests |
||||
|
{ |
||||
|
public TestEnvironmentTests(ITestOutputHelper output) |
||||
|
{ |
||||
|
this.Output = output; |
||||
|
} |
||||
|
|
||||
|
private ITestOutputHelper Output { get; } |
||||
|
|
||||
|
|
||||
|
[Fact] |
||||
|
public void GetSolutionDirectoryFullPath() |
||||
|
{ |
||||
|
string path = TestEnvironment.GetSolutionDirectoryFullPath(); |
||||
|
this.Output.WriteLine(path); |
||||
|
|
||||
|
Assert.True(Directory.Exists(path)); |
||||
|
} |
||||
|
|
||||
|
[Fact] |
||||
|
public void GetInputImagesDirectoryFullPath() |
||||
|
{ |
||||
|
string path = TestEnvironment.GetInputImagesDirectoryFullPath(); |
||||
|
this.Output.WriteLine(path); |
||||
|
|
||||
|
Assert.True(Directory.Exists(path)); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue