public void TestXboxPathCombineXboxPathObjects() { this.RunDataDrivenTest( this.PathStringsForCombine.Select( pathStrings => new TestInputData <Tuple <XboxPath, XboxPath>, XboxPath>(new Tuple <XboxPath, XboxPath>(new XboxPath(pathStrings.Item1.Item1, XboxOperatingSystem.System), new XboxPath(pathStrings.Item1.Item2, XboxOperatingSystem.System)), new XboxPath(pathStrings.Item2, XboxOperatingSystem.System), pathStrings.ExpectedException)), (input) => XboxPath.Combine(input.Item1, input.Item2), (expected, actual) => expected.FullName == actual.FullName && expected.OperatingSystem == actual.OperatingSystem); }
public void TestXboxPathCombineStrings() { this.RunDataDrivenTest( this.PathStringsForCombine, (input) => XboxPath.Combine(input.Item1, input.Item2)); }