示例#1
0
 public void HasEasingOut()
 {
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.EaseInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.EaseIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.EaseOut));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.ElasticInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.ElasticIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.ElasticOut));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.BounceInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.BounceIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.BounceOut));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.ExponentialInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.ExponentialIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.ExponentialOut));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.SineInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.SineIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.SineOut));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.BackInOut));
     Assert.AreEqual(false, ValueGenerator.HasEasingOut(Easing.BackIn));
     Assert.AreEqual(true, ValueGenerator.HasEasingOut(Easing.BackOut));
 }