public static void InsertRowStructureTest(StructureParameters s) { AddRows addRows = new AddRows(s, 40, 2, 1, true); addRows.Apply(); AddRows addRows2 = new AddRows(s, 1500, 2, 5, false); addRows2.Apply(); s.Generate().GenerateImage().Save("tests/StructureFilterTests/nachRowEinfügen.png"); SaveFieldPlan(s, "tests/StructureFilterTests/FeldplanNachRowEinfuegen.html"); addRows2.Undo(); addRows.Undo(); s.Generate().GenerateImage().Save("tests/StructureFilterTests/nachRowEinfügenUndo.png"); }
public static void InsertRowFieldTest(FieldParameters fp) { AddRows addRows = new AddRows(fp, fp.Height * fp.Length - 1, 5, 5, true); addRows.Apply(); AddRows addRows2 = new AddRows(fp, 0, 5, 5, false); addRows2.Apply(); fp.Generate().GenerateImage().Save("tests/FilterTests/nachRowEinfügen.png"); SaveFieldPlan(fp, "tests/FilterTests/FeldplanNachRowEinfuegen.html"); addRows2.Undo(); addRows.Undo(); fp.Generate().GenerateImage().Save("tests/FilterTests/nachRowEinfügenUndo.png"); }