private static TsTextProps EditStrProperty(TsTextProps textProps, int tpt, string strVal) { ITsPropsBldr tpb = textProps.GetBldr(); tpb.SetStrPropValue(tpt, strVal); return((TsTextProps)tpb.GetTextProps()); }
private static TsTextProps EditIntProperty(TsTextProps textProps, int tpt, int nVar, int nVal) { ITsPropsBldr tpb = textProps.GetBldr(); tpb.SetIntPropValues(tpt, nVar, nVal); return((TsTextProps)tpb.GetTextProps()); }
public void GetBldr_NonEmpty_ReturnsBldrWithCorrectData() { TsTextProps tps = CreateNonEmptyTextProps(); Assert.That(tps.GetBldr().GetTextProps(), Is.EqualTo(tps)); }
public void GetBldr_Empty_ReturnsBldrWithCorrectData() { TsTextProps tps = TsTextProps.EmptyProps; Assert.That(tps.GetBldr().GetTextProps(), Is.EqualTo(tps)); }