public override void SetUp() { ElementValue = "not_a_decimal"; base.SetUp(); Attribute = null; Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { ElementValue = decimalElementValue.ToString(); base.SetUp(); Attribute = null; Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { ElementValue = decimalElementValue.ToString(new CultureInfo("en-US").NumberFormat); base.SetUp(); Attribute = null; Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { AttributeValue = integerAttributeValue.ToString(); base.SetUp(); Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { base.SetUp(); Attribute = "not_exists"; Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { base.SetUp(); XElementToTest = null; Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }
public override void SetUp() { AttributeValue = "not_number"; base.SetUp(); Result = XElementToTest.GetDecimalValue(Attribute, DefaultValue); }