public void 空() { var math = new MathObjectFactory("").CreateSingle(); math.OriginalText.Is(""); math.AsMathSequence().List.Count.Is(0); math.Main.TestString(""); math.ToTokenString().TestString(""); math = new MathObjectFactory("{}").CreateSingle(); math.OriginalText.Is("{}"); math.AsMathSequence().List.Count.Is(0); math.Main.TestString(""); math.AsMathSequence().LeftBracket.TestToken("{"); math.AsMathSequence().RightBracket.TestToken("}"); math.ToTokenString().TestString("{}"); math = new MathObjectFactory("{}^i").CreateSingle(); math.OriginalText.Is("{}^i"); math.AsMathSequence().List.Count.Is(0); math.Main.TestString(""); math.AsMathSequence().LeftBracket.TestToken("{"); math.AsMathSequence().RightBracket.TestToken("}"); math.AsMathSequence().Sup.IsMathToken("i"); math.AsMathSequence().Sub.IsNull(); math.ToTokenString().TestString("{}^i"); math = new MathObjectFactory("{}_j").CreateSingle(); math.OriginalText.Is("{}_j"); math.AsMathSequence().List.Count.Is(0); math.Main.TestString(""); math.AsMathSequence().LeftBracket.TestToken("{"); math.AsMathSequence().RightBracket.TestToken("}"); math.AsMathSequence().Sup.IsNull(); math.AsMathSequence().Sub.IsMathToken("j"); math.ToTokenString().TestString("{}_j"); math = new MathObjectFactory("{}^i_j").CreateSingle(); math.OriginalText.Is("{}^i_j"); math.AsMathSequence().List.Count.Is(0); math.Main.TestString(""); math.AsMathSequence().LeftBracket.TestToken("{"); math.AsMathSequence().RightBracket.TestToken("}"); math.AsMathSequence().Sup.IsMathToken("i"); math.AsMathSequence().Sub.IsMathToken("j"); math.ToTokenString().TestString("{}^i_j"); }