src/GenFx.Components.Tests/ExponentialScalingStrategyTest.cs
/// <summary>
/// Tests that the object can be serialized and deserialized.
/// </summary>
Tests that the object can be serialized and deserialized.
Tests that the object can be serialized and deserialized .
[Fact]
        public void ExponentialScalingStrategy_Serialization()
        {
            ExponentialScalingStrategy strategy = new ExponentialScalingStrategy
            {
                ScalingPower = 5
            };
            ExponentialScalingStrategy result = (ExponentialScalingStrategy)SerializationHelper.TestSerialization(strategy, new Type[0]);
            Assert.Equal(5, result.ScalingPower);
        }
[ Fact ] public void ExponentialScalingStrategy_Serialization ( ) { ExponentialScalingStrategy strategy = new ExponentialScalingStrategy { ScalingPower = 5 } ; ExponentialScalingStrategy result = ( ExponentialScalingStrategy ) SerializationHelper . TestSerialization ( strategy , new Type [ 0 ] ) ; Assert . Equal ( 5 , result . ScalingPower ) ; }
Tests that the object can be serialized and deserialized.
Tests that the object can be serialized and deserialized .