示例#1
0
 public void LoadWin10Rs1MultipleImages()
 {
     using (WimFile wf = new WimFile($"{AppContext.BaseDirectory}\\TestFiles\\Win10-RS1-MultiImage-Integrity.wim"))
     {
         wf.LoadImageMetadata();
         Assert.IsTrue(wf.ImageCount == 2);
     }
 }
示例#2
0
 public void LoadWin10Rs1CompressMax()
 {
     using (WimFile wf = new WimFile($"{AppContext.BaseDirectory}\\TestFiles\\Win10-RS1-CompressMax.wim"))
     {
         wf.LoadImageMetadata();
         Assert.IsTrue((wf.Flags & WimHeaderFlags.CompressLzx) > 0);
     }
 }