public void AvatarSize_Method()
 {
   var widget = new CackleLatestCommentsWidget();
   Assert.Equal(32, widget.AvatarSize());
   Assert.True(ReferenceEquals(widget.AvatarSize(1), widget));
   Assert.Equal(1, widget.AvatarSize());
 }
Exemple #2
0
        public void AvatarSize_Method()
        {
            var widget = new CackleLatestCommentsWidget();

            Assert.Equal(32, widget.AvatarSize());
            Assert.True(ReferenceEquals(widget.AvatarSize(1), widget));
            Assert.Equal(1, widget.AvatarSize());
        }
 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());
 }
Exemple #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());
        }