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 ee81cc9 commit 403d06eCopy full SHA for 403d06e
2 files changed
‎Common.Algorithm.Interop.Test/EnvironmentTest.cs‎
@@ -0,0 +1,25 @@
1
+namespace Common.Algorithm.Interop.Test;
2
+
3
+[TestClass]
4
+public class EnvironmentTest
5
+{
6
+ [TestMethod]
7
+ public async Task Test_Install()
8
+ {
9
+ Console.WriteLine(Environment.Check());
10
11
+ var dir = Path.GetFullPath($"{Environment.DllPath}");
12
13
+ Console.WriteLine(dir);
14
15
+ if (Directory.Exists(dir))
16
+ Directory.Delete(Path.GetFullPath($"{Environment.DllPath}"), true);
17
18
+ if (!Environment.Check())
19
+ await Environment.InstallAsync();
20
21
+ Thread.Sleep(3000);
22
23
+ Assert.IsTrue(Environment.Check());
24
+ }
25
+}
0 commit comments