public void TestInclusion() { GameFs gameFs = new GameFs(ExternalPaths.GameInstallPath, null); Task.WaitAll(gameFs.Initialize()); SiiFileReader reader = new SiiFileReader(gameFs.GetIncludeProvider("def")); Task.WaitAll(reader.ReadSiiFile(gameFs.OpenFile("def/country.sii"))); }
public void TestGetInclusionProvider() { GameFs gameFs = new GameFs(ExternalPaths.GameInstallPath, null /* support for mods not present yet */); Drive.SiiFile.IInclusionProvider inclusionProvider = gameFs.GetIncludeProvider(); Assert.IsNotNull(inclusionProvider); Assert.IsInstanceOfType(inclusionProvider, typeof(GameFsIncludeProvider)); }