src/GenFx.Components.Tests/GenerationalTerminatorTest.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 GenerationalTerminator_Serialization()
        {
            GenerationalTerminator terminator = new GenerationalTerminator();
            terminator.FinalGeneration = 5;
            GenerationalTerminator result = (GenerationalTerminator)SerializationHelper.TestSerialization(terminator, new Type[0]);
            Assert.Equal(terminator.FinalGeneration, result.FinalGeneration);
        }
[ Fact ] public void GenerationalTerminator_Serialization ( ) { GenerationalTerminator terminator = new GenerationalTerminator ( ) ; terminator . FinalGeneration = 5 ; GenerationalTerminator result = ( GenerationalTerminator ) SerializationHelper . TestSerialization ( terminator , new Type [ 0 ] ) ; Assert . Equal ( terminator . FinalGeneration , result . FinalGeneration ) ; }
Tests that the object can be serialized and deserialized.
Tests that the object can be serialized and deserialized .