public void TestMultiPointMShapePosition() { double[] measures = new double[] { 0.0, 1.0 }; MultiPointMShape points = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures); Assert.AreEqual(m_positions[0], points[0]); Assert.AreEqual(new Cartographic(Constants.RadiansPerDegree, Constants.RadiansPerDegree, 1.0), points[1]); }
public void TestMultiPointMShapeMeasure() { double[] measures = new double[] { 0.0, 1.0 }; MultiPointMShape points = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures); Assert.AreEqual(measures[0], points.GetMeasure(0)); Assert.AreEqual(measures[1], points.GetMeasure(1)); }
public void TestMultiPointMShapeType() { double[] measures = new double[] { 0.0, 1.0}; MultiPointMShape point = new MultiPointMShape(m_recordNumber, m_metadata, m_extent, m_positions, 0.0, 1.0, measures); Assert.AreEqual(ShapeType.MultiPointM, point.ShapeType); }