void VerifyCharProps(TextSource source, int ich, int ws, int ichMinExpected, int ichLimExpected, string label) { LgCharRenderProps props; int ichMin, ichLim; source.GetCharProps(ich, out props, out ichMin, out ichLim); Assert.AreEqual(ichMinExpected, ichMin, label + " - ichMin"); Assert.AreEqual(ichLimExpected, ichLim, label + " - ichLim"); Assert.AreEqual(ws, props.ws, label + " - ws"); }