Example #1
0
        public virtual void TwoBackgroundRepeatValueConstructorTest()
        {
            BackgroundRepeat backgroundRepeat = new BackgroundRepeat(BackgroundRepeat.BackgroundRepeatValue.SPACE, BackgroundRepeat.BackgroundRepeatValue
                                                                     .ROUND);

            NUnit.Framework.Assert.AreEqual(BackgroundRepeat.BackgroundRepeatValue.SPACE, backgroundRepeat.GetXAxisRepeat
                                                ());
            NUnit.Framework.Assert.AreEqual(BackgroundRepeat.BackgroundRepeatValue.ROUND, backgroundRepeat.GetYAxisRepeat
                                                ());
        }
Example #2
0
        public virtual void DefaultConstructorTest()
        {
            BackgroundRepeat backgroundRepeat = new BackgroundRepeat();

            NUnit.Framework.Assert.AreEqual(BackgroundRepeat.BackgroundRepeatValue.REPEAT, backgroundRepeat.GetXAxisRepeat
                                                ());
            NUnit.Framework.Assert.AreEqual(BackgroundRepeat.BackgroundRepeatValue.REPEAT, backgroundRepeat.GetYAxisRepeat
                                                ());
        }