public void GetsValidDriveStrings_Windows() { string[] drives = Directory.GetLogicalDrives(); Assert.NotEmpty(drives); Assert.All(drives, d => Assert.Matches(@"^[A-Z]:\\$", d)); } }