public void Equals_SameNonEmpty_ReturnsTrue() { TsTextProps tps1 = CreateNonEmptyTextProps(); TsTextProps tps2 = CreateNonEmptyTextProps(); Assert.That(tps1.Equals(tps2), Is.True); }
public void Equals_NotSame_ReturnsFalse() { TsTextProps tps1 = TsTextProps.EmptyProps; TsTextProps tps2 = CreateNonEmptyTextProps(); Assert.That(tps1.Equals(tps2), Is.False); }
public void Equals_SameEmpty_ReturnsTrue() { TsTextProps tps1 = TsTextProps.EmptyProps; TsTextProps tps2 = TsTextProps.EmptyProps; Assert.That(tps1.Equals(tps2), Is.True); }
public bool Equals(TsRun other) { return(m_ichLim == other.m_ichLim && m_textProps.Equals(other.m_textProps)); }