public void TestImportImagesNotClicked() { string a, b; a = @"Model\test.jpg"; b = @"Model\test2.jpg"; string[] array = new string[2] { a, b }; List <DiffusionCurves.Model.Frame> frameslist = ImportImages.Import(false, array, 0); Assert.IsEmpty(frameslist); }
public void TestImportOfImagesOK() { string a, b; a = @"Model\test.jpg"; b = @"Model\test2.jpg"; string[] array = new string[2] { a, b }; List <DiffusionCurves.Model.Frame> frameslist = ImportImages.Import(true, array, 0); Assert.NotNull(frameslist); Assert.That(frameslist.Count.Equals(2)); }