public void TextSize_Method()
 {
   var widget = new CackleLatestCommentsWidget();
   Assert.Equal(150, widget.TextSize());
   Assert.True(ReferenceEquals(widget.TextSize(1), widget));
   Assert.Equal(1, widget.TextSize());
 }
Ejemplo n.º 2
0
        public void TextSize_Method()
        {
            var widget = new CackleLatestCommentsWidget();

            Assert.Equal(150, widget.TextSize());
            Assert.True(ReferenceEquals(widget.TextSize(1), widget));
            Assert.Equal(1, widget.TextSize());
        }
 public void Constructors()
 {
   var widget = new CackleLatestCommentsWidget();
   Assert.Null(widget.Account());
   Assert.Equal(32, widget.AvatarSize());
   Assert.Equal(5, widget.Max());
   Assert.Equal(150, widget.TextSize());
   Assert.Equal(40, widget.TitleSize());
 }
Ejemplo n.º 4
0
        public void Constructors()
        {
            var widget = new CackleLatestCommentsWidget();

            Assert.Null(widget.Account());
            Assert.Equal(32, widget.AvatarSize());
            Assert.Equal(5, widget.Max());
            Assert.Equal(150, widget.TextSize());
            Assert.Equal(40, widget.TitleSize());
        }