Exemplo n.º 1
0
        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="));
        }
Exemplo n.º 2
0
        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"));
        }
Exemplo n.º 3
0
 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="));
 }
Exemplo n.º 4
0
 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"));
 }