public void RemoveTest(string arrayFile, int indice) { var array = texTool.Load(TestTools.InputTestFolder + arrayFile); texTool.Remove(array, indice); //Console.WriteLine("TextureTool_Remove_" + indice + "_" + arrayFile + "." + TestTools.ComputeSHA1(array.Data, array.DataSize)); Assert.IsTrue(TestTools.ComputeSHA1(array.Data, array.DataSize).Equals(TestTools.GetInstance().Checksum["TextureTool_Remove_" + indice + "_" + arrayFile])); try { texTool.Remove(array, array.ArraySize); Assert.IsTrue(false); } catch (TextureToolsException) { Assert.IsTrue(true); } array.Dispose(); }