public void Constructor_ExpectedValues()
        {
            // Call
            var serializer = new Point3DCollectionXmlSerializer();

            // Assert
            Assert.IsInstanceOf <DataCollectionSerializer <Point3D, Point3DCollectionXmlSerializer.SerializablePoint3D> >(serializer);
            SerializerTestHelper.AssertSerializedData(typeof(Point3DCollectionXmlSerializer.SerializablePoint3D));
        }
        public void Constructor_ExpectedValues()
        {
            // Call
            var serializer = new TangentLineCollectionXmlSerializer();

            // Assert
            Assert.IsInstanceOf <DataCollectionSerializer <RoundedDouble, TangentLineCollectionXmlSerializer.SerializableTangentLine> >(serializer);
            SerializerTestHelper.AssertSerializedData(typeof(TangentLineCollectionXmlSerializer.SerializableTangentLine));
        }
        public void Constructor_ExpectedValues()
        {
            // Call
            var serializer = new RoughnessPointCollectionXmlSerializer();

            // Assert
            Assert.IsInstanceOf <DataCollectionSerializer <RoughnessPoint, RoughnessPointCollectionXmlSerializer.SerializableRoughnessPoint> >(serializer);
            SerializerTestHelper.AssertSerializedData(typeof(RoughnessPointCollectionXmlSerializer.SerializableRoughnessPoint));
        }
Example #4
0
        public void Constructor_ExpectedValues()
        {
            // Call
            var serializer = new MacroStabilityInwardsSliceCollectionXmlSerializer();

            // Assert
            Assert.IsInstanceOf <DataCollectionSerializer <MacroStabilityInwardsSlice,
                                                           MacroStabilityInwardsSliceCollectionXmlSerializer.SerializableMacroStabilityInwardsSlice> >(serializer);
            SerializerTestHelper.AssertSerializedData(typeof(MacroStabilityInwardsSliceCollectionXmlSerializer.SerializableMacroStabilityInwardsSlice));
        }