public void GetIntPropValues_DoesNotExist_ReturnsNegativeOne() { TsTextProps tps = CreateNonEmptyTextProps(); int var; int value = tps.GetIntPropValues((int)FwTextPropType.ktptFontSize, out var); Assert.That(var, Is.EqualTo(-1)); Assert.That(value, Is.EqualTo(-1)); }
public void GetIntPropValues_Exists_ReturnsCorrectValue() { TsTextProps tps = CreateNonEmptyTextProps(); int var; int value = tps.GetIntPropValues((int)FwTextPropType.ktptWs, out var); Assert.That(var, Is.EqualTo((int)FwTextPropVar.ktpvDefault)); Assert.That(value, Is.EqualTo(1)); }