public void EndToEndTest() { var inputFiles = new[] { "data/header.xml", "data/report.xbrl" }; ReportPackage.Create("keys/public.xml", "output/reportpackage.zip", inputFiles.First(), inputFiles.Last()); var outputFiles = ReportPackage.Unpack("keys/private.xml", "output/reportpackage.zip", "output"); var expectedOutputFiles = inputFiles.Select(f => f.Replace("data/", "output/")).ToArray(); Assert.Equal(expectedOutputFiles, outputFiles); }
public void CreatePackageTest() => ReportPackage.Create("keys/fin-fsa-pub.xml", "output/reportpackage.zip", "data/header.xml", "data/report.xbrl");