public void TestCopyOpen() { var open = new Open("(") { Subscript = { LaTeXSettings.Placeholder, LaTeXSettings.Times, LaTeXSettings.Divide }, Superscript = { LaTeXSettings.Divide, LaTeXSettings.Times } }; var clone = open.Clone(false); CheckClone(open, clone); CheckClone(open.Superscript, clone.Superscript); CheckClone(open.Subscript, clone.Subscript); }
public void TestCopyOpen() { var list = new MathList { LaTeXDefaults.Placeholder, LaTeXDefaults.Times, LaTeXDefaults.Divide }; var list2 = new MathList { LaTeXDefaults.Divide, LaTeXDefaults.Times }; var open = new Open("(") { Subscript = list, Superscript = list2 }; var clone = open.Clone(false); CheckClone(open, clone); CheckClone(open.Superscript, clone.Superscript); CheckClone(open.Subscript, clone.Subscript); }