Ejemplo n.º 1
0
        public void EaseFuncTest()
        {
            var          target   = new TweenOps_Accessor();
            EaseFunction expected = Ease.Linear;

            target.EaseFunc = expected;
            EaseFunction actual = target.EaseFunc;

            Assert.AreEqual(expected, actual);
        }
Ejemplo n.º 2
0
        public void EaseExParamsTest()
        {
            var target   = new TweenOps_Accessor();
            var expected = new object[] { 10, 20, 30 };

            target.EaseExParams = expected;
            object[] actual = target.EaseExParams;
            Assert.AreEqual(expected, actual);
            Assert.AreEqual(3, actual.Length);
        }