-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTests.cs
More file actions
32 lines (27 loc) · 731 Bytes
/
Copy pathTests.cs
File metadata and controls
32 lines (27 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
namespace TestableIOTests;
public class Tests
{
#region Usage
[Test]
public async Task Usage()
{
IFileSystem fileSystem = new FileSystem();
var fileInfo = fileSystem.FileInfo.New(@"C:\temp\temp.txt");
await Verify(fileInfo);
}
#endregion
[Test]
public async Task VerifyFileInfo()
{
IFileSystem fileSystem = new FileSystem();
var fileInfo = fileSystem.FileInfo.New(@"C:\temp\temp.txt");
await Verify(fileInfo);
}
[Test]
public async Task VerifyDirectoryInfo()
{
IFileSystem fileSystem = new FileSystem();
var directoryInfo = fileSystem.DirectoryInfo.New(@"C:\temp");
await Verify(directoryInfo);
}
}