public void ctor() { var expected = Directory.GetCurrentDirectory(); var actual = new CurrentDirectory().Info.FullName; Assert.Equal(expected, actual); }
public void ctor_string() { using (var temp = new TempDirectory()) { var expected = temp.Info.FullName; var actual = new CurrentDirectory(expected).Info.FullName; Assert.Equal(expected, actual); } }