コード例 #1
0
        public void OpenDuration_method_sets_OpenDuration_property_of_property_animation()
        {
            propertyBuilder
            .OpenDuration(AnimationDuration.Slow);

            Assert.Equal((int)AnimationDuration.Slow, property.OpenDuration);
        }
コード例 #2
0
        public void OpenDuration_method_sets_OpenDuration_property_slide_animation()
        {
            slideBuilder
            .OpenDuration(AnimationDuration.Slow);

            Assert.Equal((int)AnimationDuration.Slow, slide.OpenDuration);
        }