Skip to content

Commit 403d06e

Browse files
committed
🎇 Style: Rename test units.
1 parent ee81cc9 commit 403d06e

2 files changed

Lines changed: 92 additions & 120 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)