public void Test_GetNumPoints_TwoPoints() { Assert.Equal(2, S2ShapeIndexMeasures.GetNumPoints(MakeIndexOrDie("0:0 | 1:0 # #"))); }
public void Test_GetNumPoints_LineAndPolygon() { Assert.Equal(0, S2ShapeIndexMeasures.GetNumPoints(MakeIndexOrDie( "# 1:1, 1:2 # 0:3, 0:5, 2:5"))); }
public void Test_GetNumPoints_Empty() { Assert.Equal(0, S2ShapeIndexMeasures.GetNumPoints(MakeIndexOrDie("# #"))); }