We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06a5534 commit de73a5dCopy full SHA for de73a5d
tests/Magick.NET.Tests/MagickNETTests/TheSetTempDirectoryMethod.cs
@@ -11,6 +11,7 @@
11
// and limitations under the License.
12
13
using System;
14
+using System.IO;
15
using ImageMagick;
16
using Xunit;
17
@@ -37,6 +38,12 @@ public void ShouldThrowExceptionWhenPathIsInvalid()
37
38
MagickNET.SetTempDirectory("Invalid");
39
});
40
}
41
+
42
+ [Fact]
43
+ public void ShouldNotThrowExceptionWhenPathIsCorrect()
44
+ {
45
+ MagickNET.SetTempDirectory(Path.GetTempPath());
46
+ }
47
48
49
0 commit comments