public void Clear_TwoRunBldr_ClearsState() { TsStrBldr tsb = CreateMixedWSBldr(); tsb.Clear(); Assert.That(tsb.Text, Is.Null); Assert.That(tsb.RunCount, Is.EqualTo(1)); Assert.That(GetWS(tsb, 0), Is.EqualTo(-1)); }
public void Clear_TwoRunBldr_ClearsState() { TsStrBldr tsb = CreateMixedWSBldr(); tsb.Clear(); Assert.That(tsb.Text, Is.Null); Assert.That(tsb.RunCount, Is.EqualTo(1)); Assert.That(GetWS(tsb, 0), Is.EqualTo(-1)); }