コード例 #1
0
        public void Constructor_ExpectedValues()
        {
            // Call
            var serializer = new Point3DCollectionXmlSerializer();

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

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

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

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