public void TestAutoValueOfDecimal_Should_Be_Null_Safe() { var _model = new TagModel(new Hashtable()); var tag = new DecimalAutoValueTestTag(); Assert.That(tag.Evaluate(_model), Is.EqualTo("dec=")); }
public void TestAutoValueOfDecimal() { var _model = new TagModel(new Hashtable()); var tag = new DecimalAutoValueTestTag(); tag.SomeDecimalValue = new MockAttribute(new Constant("8")); Assert.That(tag.Evaluate(_model), Is.EqualTo("dec=8")); }
public void TestAutoValueOfDecimal_Should_Be_Null_Safe() { var _model = new TagModel(new Hashtable()); var tag = new DecimalAutoValueTestTag(); Assert.That(tag.Evaluate(_model), Is.EqualTo("dec=")); }
public void TestAutoValueOfDecimal() { var _model = new TagModel(new Hashtable()); var tag = new DecimalAutoValueTestTag(); tag.SomeDecimalValue = new MockAttribute(new Constant("8")); Assert.That(tag.Evaluate(_model), Is.EqualTo("dec=8")); }