public void TestPostSlidesSplit() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "sample-input.pptx"; int? width = null; int? height = null; int? to = 3; int? from = 2; string destFolder = null; string format = "png"; string storage = null; string folder = null; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); SplitDocumentResponse actual; actual = target.PostSlidesSplit(name, width, height, to, from, destFolder, format, storage, folder); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.SplitDocumentResponse(), actual.GetType()); }