public static void DeleteRowStructureTest(StructureParameters s) { DeleteRows deleteRow = new DeleteRows(s, new int[] { 40, 200, 500 }); deleteRow.Apply(); s.Generate().GenerateImage().Save("tests/StructureFilterTests/nachRowLöschen.png"); SaveFieldPlan(s, "tests/StructureFilterTests/FeldplanNachRowLöschen.html"); deleteRow.Undo(); s.Generate().GenerateImage().Save("tests/StructureFilterTests/nachRowLoeschenUndo.png"); }
public static void DeleteRowFieldTest(FieldParameters fp) { DeleteRows deleteRow = new DeleteRows(fp, (new int[] { 0, fp.current_height - 1 }).Select(x => x * fp.current_width).ToArray()); deleteRow.Apply(); fp.Generate().GenerateImage().Save("tests/FilterTests/nachRowLöschen.png"); SaveFieldPlan(fp, "tests/FilterTests/FeldplanNachRowLöschen.html"); deleteRow.Undo(); fp.Generate().GenerateImage().Save("tests/FilterTests/nachRowLoeschenUndo.png"); }